Re: [9fans] A simple experiment



On Thu, Apr 29, 2010 at 5:40 AM, roger peppe <rogpeppe@xxxxxxxxx> wrote:

what happens if the consumer is slow and the Rstream writer
blocks? how do you stop all the other replies on the connection
waiting for the consumer to get on with it?

there are not replies -- the rstream is a reply. If the consumer is
slow packets are lost. That's life.



in fact, how do you stop it deadlocking if the consumer is in
fact waiting for one of those replies?

??

One Tstream. Lots of Rstreams. Zero interaction.

i suppose this comes down to what the API looks like.
isochronous might be easier, as a slow reader is a bad reader
so you could just throw away some data.

Yes.

ron

.



Relevant Pages

  • Re: [9fans] A simple experiment
    ... how do you stop all the other replies on the connection ... waiting for the consumer to get on with it? ... the tcp window closes. ...
    (comp.os.plan9)
  • Re: Lock-free FIFO queue? (or near enough)
    ... active threads falls below the concurrency count of the completion port ... one of the currently waiting threads and directly schedule it. ... waiting consumer threads should not all wait on the same ... If a consumer thread needs to wait because the queue is ...
    (borland.public.delphi.language.basm)
  • Re: Threading problem
    ... wait for threads to flush their contents to the stream? ... "Magali Desmedt" wrote in message ... > I have to send several messages at the same time and wait for the replies, ... > spin, waiting for an answer. ...
    (microsoft.public.dotnet.languages.csharp)
  • Face or something lift
    ... Before leaving she says to the clerk, "I hope you don't mind my asking, but how old ... While waiting for the bus to go home, she asks an old man waiting next to her the ... He replies, "Lady, I'm 78 and my eye sight is going. ... completes one last squeeze of her breasts, removes his hands, and says. ...
    (uk.rec.humour)
  • Re: biopython
    ... i am still waiting for some help..... ... Your behaviour on this list is making me really, really angry. ... are not a tech support company. ... your original TWO posts got a couple of replies. ...
    (comp.lang.python)