From e3fd45401799165536891c2ef07865ea2161a4bf Mon Sep 17 00:00:00 2001 From: davidxu Date: Tue, 1 Nov 2005 07:05:32 +0000 Subject: Use TIMERS_UNLOCK. --- lib/libthr/thread/thr_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libthr/thread/thr_timer.c') 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; -- cgit v1.1