<br><br><div class="gmail_quote">On Tue, Aug 7, 2012 at 2:54 AM, Emmanuel Dreyfus <span dir="ltr">&lt;<a href="mailto:manu@netbsd.org" target="_blank">manu@netbsd.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Aug 07, 2012 at 02:46:33AM -0700, Anand Avati wrote:<br>
&gt; Does that mean your implementation of *context() functions is implemented<br>
&gt; as wrappers around pthreads? Can you verify that?<br>
<br>
</div>No, it is not. swapcontext() is implemented as getcontext()/setcontext()<br>
system calls, and does share code with pthread system calls used by<br>
libpthread.<br><font color="#888888"><br></font></blockquote><div><br></div><div>I cannot find a code path where synctask_get() happens without a synctask_set() happening in the same thread. Did you manage to find one?</div>
<div><br></div><div>Avati</div><div><br></div></div>