[Gluster-devel] swapcontest usage in syncio.c

Anand Avati anand.avati at gmail.com
Tue Aug 7 10:01:56 UTC 2012

On Tue, Aug 7, 2012 at 2:54 AM, Emmanuel Dreyfus <manu at netbsd.org> wrote:

> On Tue, Aug 07, 2012 at 02:46:33AM -0700, Anand Avati wrote:
> > Does that mean your implementation of *context() functions is implemented
> > as wrappers around pthreads? Can you verify that?
> No, it is not. swapcontext() is implemented as getcontext()/setcontext()
> 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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20120807/0eb05835/attachment-0003.html>

More information about the Gluster-devel mailing list