mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Linux: Move mq_notify from librt to libc
The symbol was moved using scripts/move-symbol-to-libc.py. An explicit call from fork into the mq_notify implementation replaces the previous use of pthread_atfork. Reviewed-by: Adhemerva Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@@ -30,7 +30,6 @@ routines = \
|
||||
|
||||
librt-routines = \
|
||||
librt-compat \
|
||||
mq_notify \
|
||||
mq_open \
|
||||
mq_receive \
|
||||
mq_send \
|
||||
@@ -62,6 +61,7 @@ $(librt-routines-var) += \
|
||||
lio_listio64 \
|
||||
mq_close \
|
||||
mq_getattr \
|
||||
mq_notify \
|
||||
mq_setattr \
|
||||
|
||||
tests := tst-shm tst-timer tst-timer2 \
|
||||
|
@@ -28,6 +28,7 @@ libc {
|
||||
%if PTHREAD_IN_LIBC
|
||||
mq_close;
|
||||
mq_getattr;
|
||||
mq_notify;
|
||||
mq_setattr;
|
||||
%endif
|
||||
}
|
||||
@@ -58,6 +59,7 @@ libc {
|
||||
lio_listio64;
|
||||
mq_close;
|
||||
mq_getattr;
|
||||
mq_notify;
|
||||
mq_setattr;
|
||||
%endif
|
||||
shm_open;
|
||||
@@ -112,9 +114,9 @@ librt {
|
||||
%if !PTHREAD_IN_LIBC
|
||||
mq_close;
|
||||
mq_getattr;
|
||||
mq_notify;
|
||||
mq_setattr;
|
||||
%endif
|
||||
mq_notify;
|
||||
mq_open;
|
||||
mq_receive;
|
||||
mq_send;
|
||||
|
Reference in New Issue
Block a user