Re:Microsoft Has First Major Impact on Chrome
by blackflame7000 on Saturday August 17, 2019 @11:30PM
(#20728063)
Yea I’m also confused. You’re main thread should be able to run completely asynchronously from worker threads. With async, you are constantly hitting a memory barrier while the worker thread completes the promise and then the main thread draws the result. Ideally, the worker thread should be able to natively queue its task for non-blocking repaints.
Side note, this is why I’m a huge fan of Qt. They really did a fantastic job on building that framework for c++ to make it more safe
Side note, this is why I’m a huge fan of Qt. They really did a fantastic job on building that framework for c++ to make it more safe