Overview
| Artifact ID: | da1873fdb18f3011c1b4ce1cf928bdfc0a1db891 |
|---|---|
| Ticket: | 1381436fffffffffffffffffffffffffffffffff
threaded tcl crashes |
| User & Date: | vasiljevic on 2005-12-20 19:23:34 |
Changes
- icomment:
Logged In: YES user_id=95086 Hm.... this is bad. The mutex is released too early, referencing the infoPtr->dwProcessId w/o protection. I do not know if this is the cause of the problem (have to examine that code more carefully) but on the first glance I'd do: if (infoPtr->hProcess == (HANDLE) pid) { unsigned long processId = infoPtr->dwProcessId; Tcl_MutexUnlock(&pipeMutex); return processId; } If you do this in your copy, can you still reproduce the bug? - login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"