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/lio_listio.c | |
parent | 6014c65de2ac75ac4ef147754d80c7992f07ece8 (diff) | |
download | glibc-bbf5c4388acdd83fe651c82c6af5e1958202101f.zip glibc-bbf5c4388acdd83fe651c82c6af5e1958202101f.tar.gz glibc-bbf5c4388acdd83fe651c82c6af5e1958202101f.tar.bz2 |
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/lio_listio.c')
-rw-r--r-- | sysdeps/pthread/lio_listio.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sysdeps/pthread/lio_listio.c b/sysdeps/pthread/lio_listio.c index e30858a..e9d3f38 100644 --- a/sysdeps/pthread/lio_listio.c +++ b/sysdeps/pthread/lio_listio.c @@ -107,14 +107,7 @@ lio_listio_internal (int mode, struct aiocb *const list[], int nent, pthread_mutex_unlock (&__aio_requests_mutex); if (LIO_MODE (mode) == LIO_NOWAIT) - { -#ifdef BROKEN_THREAD_SIGNALS - __aio_notify_only (sig, - sig->sigev_notify == SIGEV_SIGNAL ? getpid () : 0); -#else __aio_notify_only (sig); -#endif - } return result; } @@ -140,9 +133,6 @@ lio_listio_internal (int mode, struct aiocb *const list[], int nent, waitlist[cnt].next = requests[cnt]->waiting; waitlist[cnt].counterp = &total; waitlist[cnt].sigevp = NULL; -#ifdef BROKEN_THREAD_SIGNALS - waitlist[cnt].caller_pid = 0; /* Not needed. */ -#endif requests[cnt]->waiting = &waitlist[cnt]; ++total; } @@ -190,9 +180,6 @@ lio_listio_internal (int mode, struct aiocb *const list[], int nent, } else { -#ifdef BROKEN_THREAD_SIGNALS - pid_t caller_pid = sig->sigev_notify == SIGEV_SIGNAL ? getpid () : 0; -#endif total = 0; for (cnt = 0; cnt < nent; ++cnt) @@ -209,9 +196,6 @@ lio_listio_internal (int mode, struct aiocb *const list[], int nent, waitlist->list[cnt].next = requests[cnt]->waiting; waitlist->list[cnt].counterp = &waitlist->counter; waitlist->list[cnt].sigevp = &waitlist->sigev; -#ifdef BROKEN_THREAD_SIGNALS - waitlist->list[cnt].caller_pid = caller_pid; -#endif requests[cnt]->waiting = &waitlist->list[cnt]; ++total; } |