diff options
author | davidxu <davidxu@FreeBSD.org> | 2005-11-01 06:53:22 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2005-11-01 06:53:22 +0000 |
commit | 185b13c547acc67dd79ee6f1eebc49461f76850b (patch) | |
tree | 9423b43c60b7c4dc607931801d0411a6457b1996 /lib/libthr/thread/thr_init.c | |
parent | b3577bdc654b444cf5278d5e25d6d1234df68f60 (diff) | |
download | FreeBSD-src-185b13c547acc67dd79ee6f1eebc49461f76850b.zip FreeBSD-src-185b13c547acc67dd79ee6f1eebc49461f76850b.tar.gz |
Add code to handle timer_delete(). The timer wrapper code is completely
rewritten, now timers created with same sigev_notify_attributes will
run in same thread, this allows user to organize which timers can
run in same thread to save some thread resource.
Diffstat (limited to 'lib/libthr/thread/thr_init.c')
-rw-r--r-- | lib/libthr/thread/thr_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c index a532590..0fe6ea1 100644 --- a/lib/libthr/thread/thr_init.c +++ b/lib/libthr/thread/thr_init.c @@ -389,6 +389,7 @@ init_private(void) _thr_umtx_init(&_thr_event_lock); _thr_spinlock_init(); _thr_list_init(); + _thr_timer_init(); /* * Avoid reinitializing some things if they don't need to be, |