History log of /freebsd-10-stable/lib/librt/sigev_thread.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 252412 30-Jun-2013 ed

Convert this piece of code to use C11 atomics.

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.


# 233519 26-Mar-2012 rmh

Register signal 33 explicitly as reserved by real-time library, and
use it by its new name (SIGLIBRT) rather than internal definition
in librt (SIGSERVICE).

Approved by: davidxu, arch


# 199465 17-Nov-2009 davidxu

Fix compiler warnings.


# 181778 15-Aug-2008 kmacy

atomic_fetchadd_int works on unsigned quantities - change
sigev_generation to be unsigned

MFC after: 1 month


# 157242 29-Mar-2006 deischen

Account for recent changes in namespace.h. Use _pthread_create
instead of pthread_create.


# 156529 10-Mar-2006 davidxu

Block all signals in helper threads except those should not be blocked.


# 156384 07-Mar-2006 davidxu

Remove stale comments.


# 156383 07-Mar-2006 davidxu

1. Always call user callback function in newly created thread, it seems
POSIX implies that the user callback function must be executed in clean
environment.
2. Use newly introduced pthread stubs in libc.


# 156267 03-Mar-2006 davidxu

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.


# 156192 01-Mar-2006 davidxu

Fix a mutex lock/unlock mismatch.


# 156142 01-Mar-2006 davidxu

Forgot to revert to use weak symbols when I was debugging, fix it!


# 156136 01-Mar-2006 davidxu

Bring in my initial version of POSIX realtime extension library.
Current the library implements mqueue, timer and aio with SIGEV_THREAD
notification supported.

Earlier version reviewed by: deischen