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: [email protected]
Reporter: [email protected]
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.
--