Overview
| Artifact ID: | fa3f10484cac7810ea815f806fb55a9ae3242ea1 |
|---|---|
| Ticket: | 1578877fffffffffffffffffffffffffffffffff
thread::release treats hanging processes wrongly |
| User & Date: | vasiljevic on 2007-06-30 21:41:14 |
Changes
- closedate changed to: "2007-06-30T14:41:14"
- closer changed to: "vasiljevic"
- icomment:
Logged In: YES user_id=95086 Originator: NO You do not "kill" a thread with thread::release. You merely flip a bit that controls what the thread will do when it re-enters its event loop again. If the thread never visits the event loop because it is stuck in executing some external process, the outcome is undefined. Please note that threads are not of an preemptive, rather cooperative "multitasking". You cannot execute the same level of control (i.e. kill) on threads like you can do on processes as this will create whole lotta havoc on shared resources (including deadlocks of various kinds). I will close this ticket now.
- login: "vasiljevic"
- mimetype: "text/plain"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"
- username: "vasiljevic"