diff options
author | deischen <deischen@FreeBSD.org> | 2003-08-05 22:46:00 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2003-08-05 22:46:00 +0000 |
commit | 73db9e759e57e01346011c961658790abf22719c (patch) | |
tree | 72d4a76c0fc38dbe53f86f2219914d854a838dbb /lib/libpthread/thread/thr_cancel.c | |
parent | e6b31b28140188d90a9dd49e4543af529f64843f (diff) | |
download | FreeBSD-src-73db9e759e57e01346011c961658790abf22719c.zip FreeBSD-src-73db9e759e57e01346011c961658790abf22719c.tar.gz |
Rethink the MD interfaces for libpthread to account for
archs that can (or are required to) have per-thread registers.
Tested on i386, amd64; marcel is testing on ia64 and will
have some follow-up commits.
Reviewed by: davidxu
Diffstat (limited to 'lib/libpthread/thread/thr_cancel.c')
-rw-r--r-- | lib/libpthread/thread/thr_cancel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_cancel.c b/lib/libpthread/thread/thr_cancel.c index 581b719..8190af6 100644 --- a/lib/libpthread/thread/thr_cancel.c +++ b/lib/libpthread/thread/thr_cancel.c @@ -111,7 +111,7 @@ _pthread_cancel(pthread_t pthread) if ((pthread->cancelflags & THR_AT_CANCEL_POINT) && (pthread->blocked != 0 || pthread->attr.flags & PTHREAD_SCOPE_SYSTEM)) - kse_thr_interrupt(&pthread->tmbx, + kse_thr_interrupt(&pthread->tcb->tcb_tmbx, KSE_INTR_INTERRUPT, 0); } |