Sorry, I misread your last sentence. I wasn't talking about a deadlock within the same process, but that the backend thread hangs indefinitely on a connection from a client. That's just as bad.
/ Martin Stjernholm, Roxen IS
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