DFL background tasks
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 8 00:45:27 PDT 2015
Just a couple of minor improvements:
On 06/08/2015 12:22 AM, thedeemon wrote:
> spawn() a thread and don't pass any GUI controls to it, just
> thisTid (identifier of your main UI thread)
The owner's thread id is available as 'ownerTid' as well.
> receiveTimeout(dur!"msecs"(0).
UFCS makes durations more pleasant: :)
receiveTimeout(0.msecs)
Ali
More information about the Digitalmars-d-learn
mailing list