mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Remove __waitpid_nocancel
It enables and disables cancellation with pthread_setcancelstate before calling the waitpid. It simplifies the waitpid implementation for architectures that do not provide either __NR_waitpid or __NR_wait4. Checked on x86_64-linux-gnu.
This commit is contained in:
@ -69,9 +69,6 @@ __writev_nocancel_nostatus (int fd, const struct iovec *iov, int iovcnt)
|
||||
INTERNAL_SYSCALL_CALL (writev, err, fd, iov, iovcnt);
|
||||
}
|
||||
|
||||
/* Uncancelable waitpid. */
|
||||
__typeof (waitpid) __waitpid_nocancel;
|
||||
|
||||
/* Uncancelable fcntl. */
|
||||
__typeof (__fcntl) __fcntl64_nocancel;
|
||||
|
||||
@ -84,7 +81,6 @@ hidden_proto (__read_nocancel)
|
||||
hidden_proto (__pread64_nocancel)
|
||||
hidden_proto (__write_nocancel)
|
||||
hidden_proto (__close_nocancel)
|
||||
hidden_proto (__waitpid_nocancel)
|
||||
hidden_proto (__fcntl64_nocancel)
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user