__waitpid not a cancellation point
Ulrich Drepper
drepper@redhat.com
Mon Aug 12 17:47:00 GMT 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Roland McGrath wrote:
> Linuxthreads overrides waitpid but not __waitpid, so only the public name
> is a cancellation point. It also overrides system, so that is made a
> cancellation point separately. But it does not override popen/pclose,
> so those use __waitpid with no cancellation wrapper inside or out.
> Is this how it should be?
The standard does not require that functions which are implemented using
other interfaces which are cancelation points must themselves be
cancelation points. I.e., the standard does not require a specific
implementation.
This is what we should take advantage of.
- --
- ---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9WFVe2ijCOnn/RHQRAj7xAJwJ6YdOkHKmtTNnocUJ5NKrs/s4rACfXQap
ZMUR4PLXVIVri++ZaZ6xBUQ=
=MBn2
-----END PGP SIGNATURE-----
More information about the Libc-hacker
mailing list