From 38fce3d542f17cb4da8c5491a3e7e2249da38f56 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 29 May 2002 20:22:17 +0000 Subject: [PATCH] Make __pthread_kill_other_threads_np be UNIMPLEMENTED. If it turns out 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 | 4 ++++ coregrind/vg_libpthread.c | 4 ++++ vg_libpthread.c | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/coregrind/arch/x86-linux/vg_libpthread.c b/coregrind/arch/x86-linux/vg_libpthread.c index 2cdc5ce98c..c92d54c8f5 100644 --- a/coregrind/arch/x86-linux/vg_libpthread.c +++ b/coregrind/arch/x86-linux/vg_libpthread.c @@ -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 } diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c index 2cdc5ce98c..c92d54c8f5 100644 --- a/coregrind/vg_libpthread.c +++ b/coregrind/vg_libpthread.c @@ -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 } diff --git a/vg_libpthread.c b/vg_libpthread.c index 2cdc5ce98c..c92d54c8f5 100644 --- a/vg_libpthread.c +++ b/vg_libpthread.c @@ -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 } -- 2.47.3