summaryrefslogtreecommitdiffstats
path: root/lib/librt/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librt/timer.c')
-rw-r--r--lib/librt/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/librt/timer.c b/lib/librt/timer.c
index 4b50866..f02e761 100644
--- a/lib/librt/timer.c
+++ b/lib/librt/timer.c
@@ -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;
OpenPOWER on IntegriCloud