mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +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:
@ -354,8 +354,7 @@ __spawnix (pid_t * pid, const char *file,
|
||||
|
||||
/* Disable asynchronous cancellation. */
|
||||
int state;
|
||||
__libc_ptf_call (__pthread_setcancelstate,
|
||||
(PTHREAD_CANCEL_DISABLE, &state), 0);
|
||||
__pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &state);
|
||||
|
||||
/* Child must set args.err to something non-negative - we rely on
|
||||
the parent and child sharing VM. */
|
||||
@ -413,7 +412,7 @@ __spawnix (pid_t * pid, const char *file,
|
||||
|
||||
__libc_signal_restore_set (&args.oldmask);
|
||||
|
||||
__libc_ptf_call (__pthread_setcancelstate, (state, NULL), 0);
|
||||
__pthread_setcancelstate (state, NULL);
|
||||
|
||||
return ec;
|
||||
}
|
||||
|
Reference in New Issue
Block a user