<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#c7">Comment # 7</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:utatane.tea&#64;gmail.com" title="Yusuke Suzuki &lt;utatane.tea&#64;gmail.com&gt;"> <span class="fn">Yusuke Suzuki</span></a>
</span></b>
        <pre>(In reply to Carlos Garcia Campos from <a href="show_bug.cgi?id=170391#c6">comment #6</a>)
<span class="quote">&gt; (In reply to Yusuke Suzuki from <a href="show_bug.cgi?id=170391#c5">comment #5</a>)
&gt; &gt; (In reply to Michael Catanzaro from <a href="show_bug.cgi?id=170391#c4">comment #4</a>)
&gt; &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; &gt; Patch
&gt; &gt; &gt; 
&gt; &gt; &gt; OK then, please rewrite to get rid of CFRunLoop.
&gt; &gt; 
&gt; &gt; A bit worried thing is that, current RunLoop &amp; RunLoop::Timer do not have
&gt; &gt; the full features of CFRunLoop. For example, RunLoop is thread-safe,
&gt; &gt; functions can be called from the other thread. But RunLoop::Timer is only
&gt; &gt; available from the created thread. And current Heap's timers are touched
&gt; &gt; from the other thread.
&gt; &gt; 
&gt; &gt; So, I think we still need to use CFRunLoop right now. But at least, in
&gt; &gt; runRunLoop, we can just use RunLoop::run(). But for doWork function, we
&gt; &gt; still need CFRunLoop thing.
&gt; 
&gt; Also note that iOS calls setRunLoop. Since CF timers already have a
&gt; m_runLoop member I thought it was safer to use the member. I agree we could
&gt; use RunLoop::run(), but since we need to keep the CF ifdefs for the stop, I
&gt; think it's less confusing to have ifdefs for the run too.</span >

OK, we should change &amp; drop all the CF things when we use RunLoop &amp; RunLoop::Timer thing exclusively.
Eventually, we should change current JSRunLoopTimer to accept RunLoop instead of CFRunLoopRef thing.</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>