[Webkit-unassigned] [Bug 170391] Implement PromiseDeferredTimer for non CF based ports

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 2 18:20:49 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170391

--- Comment #5 from Yusuke Suzuki <utatane.tea at gmail.com> ---
(In reply to Michael Catanzaro from comment #4)
> Comment on attachment 306055 [details]
> Patch
> 
> OK then, please rewrite to get rid of CFRunLoop.

A bit worried thing is that, current RunLoop & RunLoop::Timer do not have the full features of CFRunLoop. For example, RunLoop is thread-safe, functions can be called from the other thread. But RunLoop::Timer is only available from the created thread. And current Heap's timers are touched from the other thread.

So, I think we still need to use CFRunLoop right now. But at least, in runRunLoop, we can just use RunLoop::run(). But for doWork function, we still need CFRunLoop thing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170403/acfcbdb0/attachment.html>


More information about the webkit-unassigned mailing list