| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
use it by its new name (SIGLIBRT) rather than internal definition
in librt (SIGSERVICE).
Approved by: davidxu, arch
|
|
|
|
|
| |
Reported by: slonoman2011 yandex ru
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
ctfconvert will corrupt object files that are compiled with -g, if it is
not run with -g itself.
To fix it, remove -g from CFLAGS in lib/librt/Makefile. If you need to
compile this library with debug info, use DEBUG_FLAGS=-g instead, which
will work correctly, even when using WITH_CTF.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and
lower it when needed.
I'm setting WARNS?=0 for secure/. It seems secure/ includes the
Makefile.inc provided by lib/. I'm not going to touch that directory.
Most of the code there is contributed anyway.
|
|
|
|
|
|
|
| |
mq_receive
mq_send
mq_timereceive
mq_timedsend
|
| |
|
| |
|
|
|
|
|
|
| |
sigev_generation to be unsigned
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
| |
Warning, after symbol versioning is enabled, going back is not easy
(use WITHOUT_SYMVER at your own risk).
Change the default thread library to libthr.
There most likely still needs to be a version bump for at least the
thread libraries. If necessary, this will happen later.
|
| |
|
| |
|
|
|
|
| |
instead of pthread_create.
|
| |
|
| |
|
| |
|
|
|
|
| |
serialized.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
2. Save and restore syscall errno correctly.
3. Style fix.
|
| |
|
| |
|
| |
|
| |
|
|
Current the library implements mqueue, timer and aio with SIGEV_THREAD
notification supported.
Earlier version reviewed by: deischen
|