How do I send a HANDLE type to other threads via spawn?

bearophile bearophileHUGS at lycos.com
Wed Jun 29 16:28:15 PDT 2011


Andrej Mitrovic:

> HANDLE is defined as:
> typedef void* HANDLE;
>...
> I can't send this to a background thread via send() since typedef
> creates a new type.

typedef is deprecated in D2. Try using an alias.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list