Detached thread in D

Daniel Kozak via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 11 13:33:04 PST 2015


Post it to the learn mailing list. There will be someone who can help you.

Dne 11. 11. 2015 17:30 napsal uživatel "Ish via Digitalmars-d" <
digitalmars-d at puremagic.com>:
>
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20151111/0139e6cd/attachment.html>


More information about the Digitalmars-d mailing list