I have something of the sort:

#some loop

    ...

    s = get_data_from_pipe()
    do_something_with(s)


I need do_something_with to happen synchronously within the loop, so I 
cannot run that in a Task, and if get_data_from_pipe blocks then it kills 
my loop.

What I did is that I have a Task that reads from the Pipe and puts the data 
in an IOBuffer, then read from that in the loop instead, it seems to work.

Reply via email to