get os thread handles

Sean Campbell via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 20 03:03:46 PDT 2014


On Sunday, 20 July 2014 at 09:53:52 UTC, Jonathan M Davis wrote:
> On Sunday, 20 July 2014 at 09:34:46 UTC, Sean Campbell wrote:
>> How do i get an os thread handle from a thread object.
>> or are d thread not wrapped os threads.
>
> They do wrap OS threads, but they encapsulate them in a 
> cross-platform manner, and looking over Thread, it doesn't look 
> like anything along the lines of an OS thread handle is exposed 
> in the API.
>
> What do you need the OS thread handle for?

sonce the standard so i can get pause/resume support for d threads


More information about the Digitalmars-d-learn mailing list