get os thread handles

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 20 02:53:51 PDT 2014


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?


More information about the Digitalmars-d-learn mailing list