Change _pthread_cleanup_push and _pthread_cleanup_pop into no-ops
rather than aborts.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@237 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_libpthread_unimp.c b/coregrind/vg_libpthread_unimp.c
index db9acb3..c592e32 100644
--- a/coregrind/vg_libpthread_unimp.c
+++ b/coregrind/vg_libpthread_unimp.c
@@ -75,9 +75,9 @@
void __vfork ( void ) { unimp("__vfork"); }
//void __wait ( void ) { unimp("__wait"); }
//void __write ( void ) { unimp("__write"); }
-void _pthread_cleanup_pop ( void ) { unimp("_pthread_cleanup_pop"); }
+//void _pthread_cleanup_pop ( void ) { unimp("_pthread_cleanup_pop"); }
//void _pthread_cleanup_pop_restore ( void ) { unimp("_pthread_cleanup_pop_restore"); }
-void _pthread_cleanup_push ( void ) { unimp("_pthread_cleanup_push"); }
+//void _pthread_cleanup_push ( void ) { unimp("_pthread_cleanup_push"); }
//void _pthread_cleanup_push_defer ( void ) { unimp("_pthread_cleanup_push_defer"); }
//void longjmp ( void ) { unimp("longjmp"); }
//void pthread_atfork ( void ) { unimp("pthread_atfork"); }