Date: Sat, 4 Mar 2006 00:18:19 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/librt aio.c mq.c sigev_thread.c sigev_thread.h timer.c Message-ID: <200603040018.k240IKsc083469@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2006-03-04 00:18:19 UTC
FreeBSD src repository
Modified files:
lib/librt aio.c mq.c sigev_thread.c sigev_thread.h
timer.c
Log:
Use a thread pool to process notification if sigev_notify_attributes
is default and caller does not require dedicated thread. timer needs
a dedicated thread to maintain overrun count correctly in notification
context. mqueue and aio can use thread pool to do notification
concurrently, the thread pool has lifecycle control, some threads will
exit if they have idled for a while.
Revision Changes Path
1.3 +2 -2 src/lib/librt/aio.c
1.4 +3 -3 src/lib/librt/mq.c
1.4 +306 -48 src/lib/librt/sigev_thread.c
1.2 +10 -5 src/lib/librt/sigev_thread.h
1.3 +5 -5 src/lib/librt/timer.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603040018.k240IKsc083469>
