Re: [PATCH] swapcontext vs libpthread

2012-08-23 Thread Emmanuel Dreyfus
On Thu, Aug 23, 2012 at 11:24:03AM +, Christos Zoulas wrote: > Why do you say that? pthread_cancelstub.c does exactly this (wrapping > a syscall and calling it) all the time. I don't think we should be > getting the kernel involved with this. Right, I will do that. -- Emmanuel Dreyfus m...@n

Re: [PATCH] swapcontext vs libpthread

2012-08-23 Thread Christos Zoulas
In article <20120822170050.gj2...@homeworld.netbsd.org>, Emmanuel Dreyfus wrote: >-=-=-=-=-=- > >Here is an updated patch for sorting out swapcontext with libpthread, >with documentation and test cases. > >I would appreciate feedback on LWP_PRESERVETLS flag to _lwp_create(). >This tells the kerne