summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/thread/thr_timer.c')
-rw-r--r--lib/libthr/thread/thr_timer.c2
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;
OpenPOWER on IntegriCloud