[OpenAFS-devel] lwp and pthreads

Chas Williams chas@cmf.nrl.navy.mil
Thu, 14 Jun 2001 15:43:46 -0400


it seems that that ia64 setjmp/longjmp (as currently implemented) cannot
be used to switch stacks.  this leaves three options (unless someone else
has another suggestion):

1. implement the savecontext/returnto via process.s

2. add extra code around setjmp/longjmp sequences to preverse the needed info

3. use the pthread version of lwp

i am leaning toward 3 here but do any of the ports actually use the pthread
code in lwp?