Detached thread in D
Ish via Digitalmars-d
digitalmars-d at puremagic.com
Wed Nov 11 08:28:22 PST 2015
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.
More information about the Digitalmars-d
mailing list