cvs commit: src/lib/librt aio.c mq.c sigev_thread.c sigev_thread.h timer.c

David Xu davidxu at FreeBSD.org
Fri Mar 3 16:18:20 PST 2006


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


More information about the cvs-src mailing list