On Tue, Aug 7, 2012 at 2:54 AM, Emmanuel Dreyfus <manu@xxxxxxxxxx> wrote:
On Tue, Aug 07, 2012 at 02:46:33AM -0700, Anand Avati wrote:No, it is not. swapcontext() is implemented as getcontext()/setcontext()
> Does that mean your implementation of *context() functions is implemented
> as wrappers around pthreads? Can you verify that?
system calls, and does share code with pthread system calls used by
libpthread.
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?
Avati