gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] swapcontest usage in syncio.c


From: Anand Avati
Subject: Re: [Gluster-devel] swapcontest usage in syncio.c
Date: Tue, 7 Aug 2012 03:01:56 -0700



On Tue, Aug 7, 2012 at 2:54 AM, Emmanuel Dreyfus <address@hidden> 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?

Avati


reply via email to

[Prev in Thread] Current Thread [Next in Thread]