summaryrefslogtreecommitdiffstats
path: root/lib/librt
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-03-04 00:08:24 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-03-04 00:08:24 +0000
commit869493f015eb038ab04f7c10a09d1423d7c38d0e (patch)
treec1d13a66cdddff3612b0d3ca9023fbc269e4ad79 /lib/librt
parent00f6401a915668e081530bb7039ea323db606098 (diff)
downloadFreeBSD-src-869493f015eb038ab04f7c10a09d1423d7c38d0e.zip
FreeBSD-src-869493f015eb038ab04f7c10a09d1423d7c38d0e.tar.gz
save sigev_node pointer.
Diffstat (limited to 'lib/librt')
-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 bbb2290..c5d0671 100644
--- a/lib/librt/timer.c
+++ b/lib/librt/timer.c
@@ -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();
OpenPOWER on IntegriCloud