This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __waitpid not a cancellation point


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]