about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-10-11 07:59:08 +0000
committerUlrich Drepper <drepper@redhat.com>2002-10-11 07:59:08 +0000
commitc29defa319b4000f19f84ad008c82d3cd645ffec (patch)
tree0da6ac2d30de8427dca7a23bc58a917c5ae5b552
parentef43f9d40d06286c19236d41f94a9af845e1fa4d (diff)
downloadglibc-c29defa319b4000f19f84ad008c82d3cd645ffec.tar.gz
glibc-c29defa319b4000f19f84ad008c82d3cd645ffec.tar.xz
glibc-c29defa319b4000f19f84ad008c82d3cd645ffec.zip
Don't try calling __pthread_kill_other_threads_np.
-rw-r--r--sysdeps/unix/sysv/linux/execve.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/execve.c b/sysdeps/unix/sysv/linux/execve.c
index 8dd177281b..0e0070964e 100644
--- a/sysdeps/unix/sysv/linux/execve.c
+++ b/sysdeps/unix/sysv/linux/execve.c
@@ -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.
 
    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,
 			     char *__unbounded const *__unbounded argv,
 			     char *__unbounded const *__unbounded envp);
-extern void __pthread_kill_other_threads_np (void);
-weak_extern (__pthread_kill_other_threads_np)
 
 
 int
@@ -37,9 +35,6 @@ __execve (file, argv, envp)
      char *const argv[];
      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__
   {
     char *const *v;