Subj : Re: close while read-ing To : comp.programming.threads From : Uenal Mutlu Date : Wed May 25 2005 04:54 am "Lyonya" wrote > what might happen if one thread is blocked on a read() from a socket and > another thread tries to close() it? Under Windows the SDK says: "Any pending blocking, asynchronous calls issued by any thread in this process are canceled without posting any notification messages." The wording (blocking, asynchronous) could be misleading, but my understanding is the socket will be closed. .