Use TIMERS_UNLOCK.
This commit is contained in:
parent
185b13c547
commit
e3fd454017
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user