This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: sleep (UINT_MAX) broken
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 29 Jun 2003 11:03:17 -0700
- Subject: Re: sleep (UINT_MAX) broken
- Organization: Red Hat, Inc.
- References: <u8fzlu5m95.fsf@gromit.moeb>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Jaeger wrote:
> The problem is that we convert the unsigned argument to sleep into a
> signed value (-1) and then pass that to nanosleep.
I've handled this now. Along with a few more improvements to the function.
But the work isn't all done. The remainder will follow very soon when
the correct cancellation handling goes in.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+/ynm2ijCOnn/RHQRAsybAJ93joQQhwuj7GKSq6xsIPpV3519PACdGay3
G0SVq6p3JzxM+Ftsb4IMT2M=
=GAfb
-----END PGP SIGNATURE-----