Thread overview | |||||
---|---|---|---|---|---|
|
March 28, 2007 [Issue 1085] New: Need to add ability to detach threads. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1085 Summary: Need to add ability to detach threads. Product: DGCC aka GDC Version: 0.23 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: dvdfrdmn@users.sf.net ReportedBy: mattbd@walkingdog.net It is not always reasonable to use wait() to clean up thread resources. I would like to see a detach method for threads or a DetachedThread class added to the library. -- |
March 28, 2007 [Issue 1085] Need to add ability to detach threads. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1085 ------- Comment #1 from sean@f4.ca 2007-03-28 16:57 ------- For what it's worth, Tango will implicitly detach any thread for which pthread_join has not been called by the time the the Thread object is destroyed. I think this is the preferred approach for D, since some required functionality of the Thread object may not work if the thread has been detached prematurely. -- |
Copyright © 1999-2021 by the D Language Foundation