| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
for them, two functions _pthread_cancel_enter and _pthread_cancel_leave
are added to let thread enter and leave a cancellation point, it also
makes it possible that other functions can be cancellation points in
libraries without having to be rewritten in libthr.
|
|
|
|
|
|
|
| |
mq_receive
mq_send
mq_timereceive
mq_timedsend
|
|
|
|
|
|
| |
POSIX implies that the user callback function must be executed in clean
environment.
2. Use newly introduced pthread stubs in libc.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
Current the library implements mqueue, timer and aio with SIGEV_THREAD
notification supported.
Earlier version reviewed by: deischen
|