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 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/arch/x86-linux/vg_libpthread.c b/coregrind/arch/x86-linux/vg_libpthread.c
index 2cdc5ce..c92d54c 100644
--- a/coregrind/arch/x86-linux/vg_libpthread.c
+++ b/coregrind/arch/x86-linux/vg_libpthread.c
@@ -905,6 +905,9 @@
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 @@
printf("----------- NUKED %d\n", i);
}
__pthread_mutex_unlock(&massacre_mx);
+#endif
}
diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c
index 2cdc5ce..c92d54c 100644
--- a/coregrind/vg_libpthread.c
+++ b/coregrind/vg_libpthread.c
@@ -905,6 +905,9 @@
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 @@
printf("----------- NUKED %d\n", i);
}
__pthread_mutex_unlock(&massacre_mx);
+#endif
}
diff --git a/vg_libpthread.c b/vg_libpthread.c
index 2cdc5ce..c92d54c 100644
--- a/vg_libpthread.c
+++ b/vg_libpthread.c
@@ -905,6 +905,9 @@
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 @@
printf("----------- NUKED %d\n", i);
}
__pthread_mutex_unlock(&massacre_mx);
+#endif
}