digitalmars.D.bugs - [Issue 12812] New: Need a way to detach a thread externally when its
- via Digitalmars-d-bugs (20/20) May 27 2014 https://issues.dlang.org/show_...
https://issues.dlang.org/show_bug.cgi?id=12812 Issue ID: 12812 Summary: Need a way to detach a thread externally when its address is unknown Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nobody puremagic.com Reporter: sean invisibleduck.org The specific use case is with D-fuse, where it's necessary to detach all but the main thread at exit before the GC terminates, or a crash occurs. These threads are managed by the D-fuse library and so there's no opportunity to call thread_detachThis. Add a routine that allows threads to be detached by some other means. --
May 27 2014