diff options
author | David Xu <davidxu@FreeBSD.org> | 2007-11-21 05:21:58 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2007-11-21 05:21:58 +0000 |
commit | 6fdfcacb4a7a4a9f24e9c5c8c76a85d0ab5dc99a (patch) | |
tree | bd92b4c6d4241b908fcaf1640e5cc6e419dc109b /lib/libthr/thread/thr_rtld.c | |
parent | 110de0cf17923839e434ead831b7a7c74a7ce102 (diff) |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_rtld.c')
-rw-r--r-- | lib/libthr/thread/thr_rtld.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libthr/thread/thr_rtld.c b/lib/libthr/thread/thr_rtld.c index 827b962d95ee2..14fb1272246af 100644 --- a/lib/libthr/thread/thr_rtld.c +++ b/lib/libthr/thread/thr_rtld.c @@ -52,8 +52,8 @@ struct rtld_lock { volatile int lock; volatile int rd_waiters; volatile int wr_waiters; - volatile umtx_t rd_cv; - volatile umtx_t wr_cv; + volatile long rd_cv; + volatile long wr_cv; void *base; }; @@ -93,7 +93,7 @@ _thr_rtld_rlock_acquire(void *lock) { struct pthread *curthread; struct rtld_lock *l; - umtx_t v; + long v; curthread = _get_curthread(); l = (struct rtld_lock *)lock; @@ -116,7 +116,7 @@ _thr_rtld_wlock_acquire(void *lock) { struct pthread *curthread; struct rtld_lock *l; - umtx_t v; + long v; curthread = _get_curthread(); l = (struct rtld_lock *)lock; @@ -185,7 +185,7 @@ _thr_rtld_init(void) { struct RtldLockInfo li; struct pthread *curthread; - umtx_t dummy; + long dummy; curthread = _get_curthread(); |