Detached thread in D
extrawurst via Digitalmars-d
digitalmars-d at puremagic.com
Wed Nov 11 15:47:00 PST 2015
On Wednesday, 11 November 2015 at 16:28:24 UTC, Ish wrote:
> I am comping from C and POSIX threads. It is possible to start
> a posix thread in detached state by setting the arribute of
> thread_create to PTHREAD_CREATE_DETACHED
> to recover the resources as soon as the thread terminates.
> Allows a large number of
> threads to be created. Is there some thing similar in thread or
> fibers in D? Sample code will be appreciated.
http://dlang.org/phobos/core_thread.html#.thread_detachInstance ?
--Stephan
More information about the Digitalmars-d
mailing list