No, what I was saying was that the deadlock only occurs if you read from another thread. Why protect the user from that by making Readline unusable, as an example?
/ Per Hedbor ()
Previous text:
2003-03-19 13:45: Subject: I/O callbacks in blocking mode
I'd like more specific examples that motivates the use better.
There is no risk at all for deadlocks unless you also read using 'read' in a separate thread.
So you read using another thread. What's the callback for then? Do you read from that too, at the same time?
/ Martin Stjernholm, Roxen IS