path: root/pthread_stop_world.c
diff options
authorivmai <ivmai>2009-10-17 23:22:12 +0200
committerIvan Maidanski <>2011-07-26 19:06:50 +0200
commit7c565a1e61c34529f3b498d580018f6e902945d5 (patch)
tree8db20d20e5b970461099f0b888b55be0c0075349 /pthread_stop_world.c
parent5ae49b3abfff5e9cbf16cf5393604bc72cba5256 (diff)
2009-10-17 Ivan Maidanski <>
* pthread_stop_world.c (pthread_sigmask): Undefine before using in GC_print_sig_mask() (only if DEBUG_THREADS); add the comment. * win32_threads.c (dlopen, _beginthread): Don't undefine (since neither redirected nor used here). * win32_threads.c (GC_Thread_Rep): Rename "table_management" to "tm" for short; remove "tm_" prefix. * win32_threads.c (in_use, next): Don't define the macros; use tm.in_use and fields, respectively (to ease debugging). * win32_threads.c (HASH): Rename to PTHREAD_MAP_HASH (to have unique name across the project).
Diffstat (limited to 'pthread_stop_world.c')
1 files changed, 3 insertions, 0 deletions
diff --git a/pthread_stop_world.c b/pthread_stop_world.c
index fdf2157..6f2ceff 100644
--- a/pthread_stop_world.c
+++ b/pthread_stop_world.c
@@ -40,6 +40,9 @@
# endif
+/* It's safe to call original pthread_sigmask() here. */
+#undef pthread_sigmask
void GC_print_sig_mask(void)
sigset_t blocked;