mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
Update.
2003-06-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to EINTR if this is what pthread_cond_wait returned.
This commit is contained in:
parent
3a4f2043a1
commit
7b0a32a305
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-23 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to EINTR
|
||||||
|
if this is what pthread_cond_wait returned.
|
||||||
|
|
||||||
2003-06-20 Richard Henderson <rth@redhat.com>
|
2003-06-20 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
|
* sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
|
||||||
|
@ -199,6 +199,8 @@ aio_suspend (list, nent, timeout)
|
|||||||
form expected from `aio_suspend'. */
|
form expected from `aio_suspend'. */
|
||||||
if (result == ETIMEDOUT)
|
if (result == ETIMEDOUT)
|
||||||
__set_errno (EAGAIN);
|
__set_errno (EAGAIN);
|
||||||
|
else if (result == EINTR)
|
||||||
|
__set_errno (EINTR);
|
||||||
|
|
||||||
result = -1;
|
result = -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user