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
Previous text:
2003-03-19 13:40: Subject: I/O callbacks in blocking mode
Lets take a few examples:
o Reading from the terminal o Reading from the network (i.e. AIDO) o Reading from anything else o Reading from another program via a pipe.
There is no risk at all for deadlocks unless you also read using 'read' in a separate thread.
/ Per Hedbor ()