Async or event library

chmike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 6 05:08:29 PDT 2016


Excuse the naive question rikki, why does the window event loop 
have to be single threaded ? The question is just to expose the 
rationale.

Is it to avoid the synchronization overhead to access the window 
data ? In this case there is indeed a lot of data. Is there 
another reason ?

In some applications and event types the synchronization overhead 
is small compared to the benefit of executing tasks in parallel 
on different cores.

It is indeed none trivial and could be an interresting phd study 
subject.


More information about the Digitalmars-d-learn mailing list