Use TIMERS_UNLOCK.

This commit is contained in:
davidxu 2005-11-01 07:05:32 +00:00
parent 185b13c547
commit e3fd454017

View File

@ -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;