diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-11-01 07:05:32 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-11-01 07:05:32 +0000 |
commit | e3fd45401799165536891c2ef07865ea2161a4bf (patch) | |
tree | 3072f05615e8d1b8103dcbcb8d66d61fc1e73f92 /lib | |
parent | 185b13c547acc67dd79ee6f1eebc49461f76850b (diff) | |
download | FreeBSD-src-e3fd45401799165536891c2ef07865ea2161a4bf.zip FreeBSD-src-e3fd45401799165536891c2ef07865ea2161a4bf.tar.gz |
Use TIMERS_UNLOCK.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libthr/thread/thr_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_timer.c b/lib/libthr/thread/thr_timer.c index 130e70a..61b3c2a 100644 --- a/lib/libthr/thread/thr_timer.c +++ b/lib/libthr/thread/thr_timer.c @@ -295,7 +295,7 @@ register_timer(struct timer *tmr) memcpy(timer_list, list, timer_max * sizeof(void *)); timer_list = list; timer_max = count; - THR_UMTX_UNLOCK(curthread, &timer_list_lock); + TIMERS_UNLOCK(curthread); } TIMERS_LOCK(curthread); timer_list[tmr->timerid] = tmr; |