diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-08-15 17:28:37 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-08-15 17:54:19 +0200 |
commit | bbf5c4388acdd83fe651c82c6af5e1958202101f (patch) | |
tree | 26f91b104fb548e0f48775983bb59f87ef004993 /sysdeps/pthread/aio_misc.h | |
parent | 6014c65de2ac75ac4ef147754d80c7992f07ece8 (diff) | |
download | glibc-bbf5c4388acdd83fe651c82c6af5e1958202101f.tar.gz glibc-bbf5c4388acdd83fe651c82c6af5e1958202101f.tar.xz glibc-bbf5c4388acdd83fe651c82c6af5e1958202101f.zip |
aio: Remove support for BROKEN_THREAD_SIGNALS
This was originally added to support LinuxThreads and is not needed for NPTL.
Diffstat (limited to 'sysdeps/pthread/aio_misc.h')
-rw-r--r-- | sysdeps/pthread/aio_misc.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sysdeps/pthread/aio_misc.h b/sysdeps/pthread/aio_misc.h index 3315d82400..6e9e06f05a 100644 --- a/sysdeps/pthread/aio_misc.h +++ b/sysdeps/pthread/aio_misc.h @@ -54,11 +54,6 @@ struct waitlist volatile unsigned int *counterp; /* The next field is used in asynchronous `lio_listio' operations. */ struct sigevent *sigevp; -#ifdef BROKEN_THREAD_SIGNALS - /* XXX See requestlist, it's used to work around the broken signal - handling in Linux. */ - pid_t caller_pid; -#endif }; @@ -86,12 +81,6 @@ struct requestlist /* Pointer to the actual data. */ aiocb_union *aiocbp; -#ifdef BROKEN_THREAD_SIGNALS - /* PID of the initiator thread. - XXX This is only necessary for the broken signal handling on Linux. */ - pid_t caller_pid; -#endif - /* List of waiting processes. */ struct waitlist *waiting; }; @@ -128,13 +117,8 @@ extern void __aio_notify (struct requestlist *req) attribute_hidden internal_function; /* Notify initiator of request. */ -#ifdef BROKEN_THREAD_SIGNALS -extern int __aio_notify_only (struct sigevent *sigev, pid_t caller_pid) - attribute_hidden internal_function; -#else extern int __aio_notify_only (struct sigevent *sigev) attribute_hidden internal_function; -#endif /* Send the signal. */ extern int __aio_sigqueue (int sig, const union sigval val, pid_t caller_pid) |