mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Don't try calling __pthread_kill_other_threads_np.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -27,8 +27,6 @@
|
|||||||
extern int __syscall_execve (const char *__unbounded file,
|
extern int __syscall_execve (const char *__unbounded file,
|
||||||
char *__unbounded const *__unbounded argv,
|
char *__unbounded const *__unbounded argv,
|
||||||
char *__unbounded const *__unbounded envp);
|
char *__unbounded const *__unbounded envp);
|
||||||
extern void __pthread_kill_other_threads_np (void);
|
|
||||||
weak_extern (__pthread_kill_other_threads_np)
|
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
@ -37,9 +35,6 @@ __execve (file, argv, envp)
|
|||||||
char *const argv[];
|
char *const argv[];
|
||||||
char *const envp[];
|
char *const envp[];
|
||||||
{
|
{
|
||||||
/* If this is a threaded application kill all other threads. */
|
|
||||||
if (__pthread_kill_other_threads_np)
|
|
||||||
__pthread_kill_other_threads_np ();
|
|
||||||
#if __BOUNDED_POINTERS__
|
#if __BOUNDED_POINTERS__
|
||||||
{
|
{
|
||||||
char *const *v;
|
char *const *v;
|
||||||
|
Reference in New Issue
Block a user