version 1.29.4.4, 2008/06/27 01:34:26 |
version 1.29.4.5, 2008/09/25 19:26:01 |
Line 314 getucontext32(struct lwp *l, ucontext32_ |
|
Line 314 getucontext32(struct lwp *l, ucontext32_ |
|
/* |
/* |
* getucontext32_sa: |
* getucontext32_sa: |
* Get a ucontext32_t for use in SA upcall generation. |
* Get a ucontext32_t for use in SA upcall generation. |
* Teweaked version of getucontext32. We 1) do not take p_lock, 2) |
* Tweaked version of getucontext32. We 1) do not take p_lock, 2) |
* fudge things with uc_link (which is usually NULL for libpthread |
* fudge things with uc_link (which is usually NULL for libpthread |
* code), and 3) we report an empty signal mask. |
* code), and 3) we report an empty signal mask. |
*/ |
*/ |
void |
void |
getucontext32_sa(struct lwp *l, ucontext32_t *ucp) |
getucontext32_sa(struct lwp *l, ucontext32_t *ucp) |
{ |
{ |
|
struct proc *p = l->l_proc; |
|
|
ucp->uc_flags = 0; |
ucp->uc_flags = 0; |
ucp->uc_link = (uint32_t)(intptr_t)l->l_ctxlink; |
ucp->uc_link = (uint32_t)(intptr_t)l->l_ctxlink; |
|
|