]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make __pthread_kill_other_threads_np be UNIMPLEMENTED. If it turns out
authorJulian Seward <jseward@acm.org>
Wed, 29 May 2002 20:22:17 +0000 (20:22 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 29 May 2002 20:22:17 +0000 (20:22 +0000)
to be needed, I'll fix it properly.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@335

coregrind/arch/x86-linux/vg_libpthread.c
coregrind/vg_libpthread.c
vg_libpthread.c

index 2cdc5ce98c3bccd0635abc0443bebcb9d9c58394..c92d54c8f5dc89689b80bb64b12d853b18efea67 100644 (file)
@@ -905,6 +905,9 @@ static pthread_mutex_t massacre_mx = PTHREAD_MUTEX_INITIALIZER;
 
 void __pthread_kill_other_threads_np ( void )
 {
+   /* If we need this, implement it properly! */
+   vgPlain_unimp("__pthread_kill_other_threads_np");
+#if 0
    int i, res, me;
    __pthread_mutex_lock(&massacre_mx);
    me = pthread_self();
@@ -915,6 +918,7 @@ void __pthread_kill_other_threads_np ( void )
          printf("----------- NUKED %d\n", i);
    }
    __pthread_mutex_unlock(&massacre_mx);
+#endif
 }
 
 
index 2cdc5ce98c3bccd0635abc0443bebcb9d9c58394..c92d54c8f5dc89689b80bb64b12d853b18efea67 100644 (file)
@@ -905,6 +905,9 @@ static pthread_mutex_t massacre_mx = PTHREAD_MUTEX_INITIALIZER;
 
 void __pthread_kill_other_threads_np ( void )
 {
+   /* If we need this, implement it properly! */
+   vgPlain_unimp("__pthread_kill_other_threads_np");
+#if 0
    int i, res, me;
    __pthread_mutex_lock(&massacre_mx);
    me = pthread_self();
@@ -915,6 +918,7 @@ void __pthread_kill_other_threads_np ( void )
          printf("----------- NUKED %d\n", i);
    }
    __pthread_mutex_unlock(&massacre_mx);
+#endif
 }
 
 
index 2cdc5ce98c3bccd0635abc0443bebcb9d9c58394..c92d54c8f5dc89689b80bb64b12d853b18efea67 100644 (file)
@@ -905,6 +905,9 @@ static pthread_mutex_t massacre_mx = PTHREAD_MUTEX_INITIALIZER;
 
 void __pthread_kill_other_threads_np ( void )
 {
+   /* If we need this, implement it properly! */
+   vgPlain_unimp("__pthread_kill_other_threads_np");
+#if 0
    int i, res, me;
    __pthread_mutex_lock(&massacre_mx);
    me = pthread_self();
@@ -915,6 +918,7 @@ void __pthread_kill_other_threads_np ( void )
          printf("----------- NUKED %d\n", i);
    }
    __pthread_mutex_unlock(&massacre_mx);
+#endif
 }