mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
nptl: Move pthread_setcancelstate into libc
No new symbol version is required because there was a forwarder. The symbol has been moved using scripts/move-symbol-to-libc.py. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@@ -282,10 +282,9 @@ _IO_new_proc_close (FILE *fp)
|
||||
do
|
||||
{
|
||||
int state;
|
||||
__libc_ptf_call (__pthread_setcancelstate,
|
||||
(PTHREAD_CANCEL_DISABLE, &state), 0);
|
||||
__pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &state);
|
||||
wait_pid = __waitpid (((_IO_proc_file *) fp)->pid, &wstatus, 0);
|
||||
__libc_ptf_call (__pthread_setcancelstate, (state, NULL), 0);
|
||||
__pthread_setcancelstate (state, NULL);
|
||||
}
|
||||
while (wait_pid == -1 && errno == EINTR);
|
||||
if (wait_pid == -1)
|
||||
|
Reference in New Issue
Block a user