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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to