<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Implement PromiseDeferredTimer for non CF based ports"
   href="https://bugs.webkit.org/show_bug.cgi?id=170391#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Implement PromiseDeferredTimer for non CF based ports"
   href="https://bugs.webkit.org/show_bug.cgi?id=170391">bug 170391</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to Yusuke Suzuki from <a href="show_bug.cgi?id=170391#c5">comment #5</a>)
<span class="quote">&gt; (In reply to Michael Catanzaro from <a href="show_bug.cgi?id=170391#c4">comment #4</a>)
&gt; &gt; Comment on <span class=""><a href="attachment.cgi?id=306055&amp;action=diff" name="attach_306055" title="Patch">attachment 306055</a> <a href="attachment.cgi?id=306055&amp;action=edit" title="Patch">[details]</a></span>
&gt; &gt; Patch
&gt; &gt; 
&gt; &gt; OK then, please rewrite to get rid of CFRunLoop.
&gt; 
&gt; A bit worried thing is that, current RunLoop &amp; RunLoop::Timer do not have
&gt; the full features of CFRunLoop. For example, RunLoop is thread-safe,
&gt; functions can be called from the other thread. But RunLoop::Timer is only
&gt; available from the created thread. And current Heap's timers are touched
&gt; from the other thread.
&gt; 
&gt; So, I think we still need to use CFRunLoop right now. But at least, in
&gt; runRunLoop, we can just use RunLoop::run(). But for doWork function, we
&gt; still need CFRunLoop thing.</span >

Also note that iOS calls setRunLoop. Since CF timers already have a m_runLoop member I thought it was safer to use the member. I agree we could use RunLoop::run(), but since we need to keep the CF ifdefs for the stop, I think it's less confusing to have ifdefs for the run too.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>