Overview
| Artifact ID: | 595690ba18df9585feb6ac9ebc4a774cd78ed4ed |
|---|---|
| Ticket: | 1437595fffffffffffffffffffffffffffffffff
WinSock cores/hangs on thread or app exit |
| User & Date: | vasiljevic on 2006-03-15 04:22:31 |
Changes
- icomment:
Logged In: YES user_id=95086 The SocketThread's first thing to do is to CreateWindow (line 2326) then SetEvent(tsdPtr->readyEvent) (line 2333) The thread creating it sits in WaitForSingleObject(tsdPtr->readyEvent, INFINITE); and waits for the readyEvent to be signalized. There is no problem there. Unless the CreateWindow() blocks forever. Then the SetEvent is never executed and the caller blocks indefinitely. Hence my question once more: can CreateWindow block forever? Yes or no? If yes: when and why? I can put back the timeout there but I do not see any valid reason why to do that. Do you have a test case that brings the system in such state?
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"