[Gluster-devel] swapcontest usage in syncio.c

Emmanuel Dreyfus manu at netbsd.org
Tue Aug 7 09:54:45 UTC 2012


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.

-- 
Emmanuel Dreyfus
manu at netbsd.org




More information about the Gluster-devel mailing list