Set SNF_SYNC flag for timer, as the timer notification should be
serialized.
This commit is contained in:
parent
88ca07e79a
commit
37fe716495
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156414
@ -121,6 +121,7 @@ __timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid)
|
||||
errno = err;
|
||||
return (-1);
|
||||
}
|
||||
sn->sn_flags |= SNF_SYNC;
|
||||
sn->sn_dispatch = timer_dispatch;
|
||||
sn->sn_id = timer->oshandle;
|
||||
timer->node = sn;
|
||||
|
Loading…
Reference in New Issue
Block a user