https://issues.dlang.org/show_bug.cgi?id=12812

Sean Kelly <s...@invisibleduck.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Sean Kelly <s...@invisibleduck.org> ---
There are a few ways of going about this, but I'm going with a new call:

extern (C) void thread_detachInstance(Thread t)

The user can iterate through the active thread list and detach all threads that
are not equivalent to Thread.getThis, or according to whatever other rule is
appropriate.  Perhaps checking the isDaemon flag, since all attached threads
are daemons.

--

Reply via email to