save sigev_node pointer.
This commit is contained in:
parent
45d48bdad5
commit
c402cadc1c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156265
@ -125,6 +125,7 @@ __timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid)
|
||||
}
|
||||
sn->sn_dispatch = timer_dispatch;
|
||||
sn->sn_id = timer->oshandle;
|
||||
timer->node = sn;
|
||||
__sigev_list_lock();
|
||||
__sigev_register(sn);
|
||||
__sigev_list_unlock();
|
||||
|
Loading…
Reference in New Issue
Block a user