tech-kern archive

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

Re: swapcontext() around pthreads



Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

> It sounds a lot like you should be using setjmp/longjmp in first place.
> swapcontext works exactly as advertised and e.g. the thread base is part
> of the context.

I play back and forth between tech-kern%netbsd.org@localhost and
gluster-devel%nongnu.org@localhost: 

setjmp and longjmp are claim to not match the requirement because they
do not allow different stacks for each execution context.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index