diff options
| author | David Xu <davidxu@FreeBSD.org> | 2005-11-01 07:05:32 +0000 |
|---|---|---|
| committer | David Xu <davidxu@FreeBSD.org> | 2005-11-01 07:05:32 +0000 |
| commit | 6cae59b1e72dd501ed1acbcff49f5bb3d6805c82 (patch) | |
| tree | 3072f05615e8d1b8103dcbcb8d66d61fc1e73f92 /lib/libthr | |
| parent | 53bbdf864672c63a4dd2fa50534d6faac62cda2b (diff) | |
Notes
Diffstat (limited to 'lib/libthr')
| -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 130e70a47226..61b3c2af3dd8 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; |
