summaryrefslogtreecommitdiffstats
path: root/lib/librt/sigev_thread.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert this piece of code to use C11 atomics.ed2013-06-301-3/+4
| | | | | | | As mentioned before, we should at least aim to have one piece of code in both user space and kernel space that uses C11 atomics, to get some coverage. This piece of code can be migrated trivially, so it's a good candidate.
* Register signal 33 explicitly as reserved by real-time library, andrmh2012-03-261-5/+5
| | | | | | | use it by its new name (SIGLIBRT) rather than internal definition in librt (SIGSERVICE). Approved by: davidxu, arch
* Fix compiler warnings.davidxu2009-11-181-2/+2
|
* atomic_fetchadd_int works on unsigned quantities - changekmacy2008-08-151-1/+1
| | | | | | sigev_generation to be unsigned MFC after: 1 month
* Account for recent changes in namespace.h. Use _pthread_createdeischen2006-03-291-4/+4
| | | | instead of pthread_create.
* Block all signals in helper threads except those should not be blocked.davidxu2006-03-101-6/+9
|
* Remove stale comments.davidxu2006-03-071-4/+0
|
* 1. Always call user callback function in newly created thread, it seemsdavidxu2006-03-071-378/+159
| | | | | | POSIX implies that the user callback function must be executed in clean environment. 2. Use newly introduced pthread stubs in libc.
* Use a thread pool to process notification if sigev_notify_attributesdavidxu2006-03-041-48/+306
| | | | | | | | 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.
* Fix a mutex lock/unlock mismatch.davidxu2006-03-011-2/+3
|
* Forgot to revert to use weak symbols when I was debugging, fix it!davidxu2006-03-011-22/+15
|
* Bring in my initial version of POSIX realtime extension library.davidxu2006-03-011-0/+433
Current the library implements mqueue, timer and aio with SIGEV_THREAD notification supported. Earlier version reviewed by: deischen
OpenPOWER on IntegriCloud