diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-03-04 00:08:24 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-03-04 00:08:24 +0000 |
commit | 869493f015eb038ab04f7c10a09d1423d7c38d0e (patch) | |
tree | c1d13a66cdddff3612b0d3ca9023fbc269e4ad79 /lib/librt/timer.c | |
parent | 00f6401a915668e081530bb7039ea323db606098 (diff) | |
download | FreeBSD-src-869493f015eb038ab04f7c10a09d1423d7c38d0e.zip FreeBSD-src-869493f015eb038ab04f7c10a09d1423d7c38d0e.tar.gz |
save sigev_node pointer.
Diffstat (limited to 'lib/librt/timer.c')
-rw-r--r-- | lib/librt/timer.c | 1 |
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(); |