tech-kern archive

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

Re: swapcontext() around pthreads

Joerg Sonnenberger <> 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 and 

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

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index