aboutsummaryrefslogtreecommitdiff
path: root/lib/librt/aio.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement SIGEV_THREAD notification for aio_fsync.David Xu2006-03-241-18/+55
| | | | Notes: svn path=/head/; revision=157078
* 1. Always call user callback function in newly created thread, it seemsDavid Xu2006-03-071-3/+0
| | | | | | | | | POSIX implies that the user callback function must be executed in clean environment. 2. Use newly introduced pthread stubs in libc. Notes: svn path=/head/; revision=156383
* Use a thread pool to process notification if sigev_notify_attributesDavid Xu2006-03-041-2/+2
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=156267
* 1. Fix a race in aio_return.David Xu2006-03-011-6/+12
| | | | | | | | 2. Save and restore syscall errno correctly. 3. Style fix. Notes: svn path=/head/; revision=156194
* Bring in my initial version of POSIX realtime extension library.David Xu2006-03-011-0/+156
Current the library implements mqueue, timer and aio with SIGEV_THREAD notification supported. Earlier version reviewed by: deischen Notes: svn path=/head/; revision=156136