Re: Multithread safety



What I meant to say is : If one thread is writing to
the socket while another one is reading to it (full-duplex),
its impossible in certain cases for the writing thread to
be notified in time by the reading thread that the socket
has been closed by the peer... So how can I write
full-duplex production code?

Thanks




.



Relevant Pages