Re: WSACleanup deadlock
- From: "Eugene Gershnik" <gershnik@xxxxxxxxxxx>
- Date: Tue, 16 May 2006 22:30:29 -0700
Mila wrote:
Before WSACleanup is called I close open sockets then terminate
threads if active so there doesn't exist any open sockets or thread
handles.
Are you sure? Do you wait on all thread handles? If not you should.
Also how do you terminate threads? If you call TerminateThread this is not a
good idea (though it is unlikely to cause your particular problem). Make
sure your threads exit cleanly by themselves.
--
Eugene
http://www.gershnik.com
.
- Follow-Ups:
- Re: WSACleanup deadlock
- From: Mila
- Re: WSACleanup deadlock
- References:
- WSACleanup deadlock
- From: Mila
- WSACleanup deadlock
- Prev by Date: Why I am getting error no. 10014 (WSAEFAULT) when identifying a st
- Next by Date: Re: Joining domain with local account
- Previous by thread: Re: WSACleanup deadlock
- Next by thread: Re: WSACleanup deadlock
- Index(es):