[Issue 12812] New: Need a way to detach a thread externally when its address is unknown

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 27 10:58:33 PDT 2014


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 at puremagic.com
          Reporter: sean at 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.

--


More information about the Digitalmars-d-bugs mailing list