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:
Ulrich Drepper 2003-06-23 17:43:30 +00:00
parent 3a4f2043a1
commit 7b0a32a305
2 changed files with 7 additions and 0 deletions

View file

@ -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>
* sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.

View file

@ -199,6 +199,8 @@ aio_suspend (list, nent, timeout)
form expected from `aio_suspend'. */
if (result == ETIMEDOUT)
__set_errno (EAGAIN);
else if (result == EINTR)
__set_errno (EINTR);
result = -1;
}