CreateThread?

BCS none at anon.com
Fri May 28 07:07:21 PDT 2010


Hello Pavel,

> I create win32 application. (use dmd 2.046)
> Exist object Thread in std.thread. Object Thread gives support for
> garbage
> collector,  but I want to use
> the function CreateThread.
> Can I create threads with this function?

You can call it (you can call any C function). It should give you a new thread. 
It might break something else in D (for example: the GC pauses all threads 
for a collection and that might break)

Why do you want to use CreateThread?

-- 
... <IXOYE><





More information about the Digitalmars-d-learn mailing list