From: Julian Seward Date: Wed, 29 May 2002 20:22:17 +0000 (+0000) Subject: Make __pthread_kill_other_threads_np be UNIMPLEMENTED. If it turns out X-Git-Tag: svn/VALGRIND_1_0_3~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38fce3d542f17cb4da8c5491a3e7e2249da38f56;p=thirdparty%2Fvalgrind.git 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 --- 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 }