[Issue 1085] Need to add ability to detach threads.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 28 21:20:48 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1085


mattbd at walkingdog.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Phobos                      |Phobos
            Product|DGCC aka GDC                |D
            Version|0.23                        |unspecified




------- Comment #3 from mattbd at walkingdog.net  2007-03-28 23:20 -------
I think that assuming that a thread should detach just because no thread called
wait() before the thread exits is incorrect. It is certainly within the posix
programming model to use wait to collect status of previously exited threads
and that should probably be exposed. I think either an explicit detach()
method, or a separate subclass for detached threads would be better than the
Tango model.

I agree that this is general to D and am moving it to that category.


-- 



More information about the Digitalmars-d-bugs mailing list