Re: swapcontest usage in syncio.c

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

 





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:
> 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


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux