projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb24eb
)
Fix NaCl GC deadlock
author
Elijah Taylor
<elijahtaylor@google.com>
Thu, 11 Aug 2011 21:48:13 +0000
(14:48 -0700)
committer
Zoltan Varga
<vargaz@gmail.com>
Thu, 11 Aug 2011 22:11:26 +0000
(
00:11
+0200)
libgc/pthread_stop_world.c
patch
|
blob
|
history
diff --git
a/libgc/pthread_stop_world.c
b/libgc/pthread_stop_world.c
index 3819693c45cea458812c159cb808312eeeec7e96..3ecc5e9047d994804e0dd3dea4f985942a01e71c 100644
(file)
--- a/
libgc/pthread_stop_world.c
+++ b/
libgc/pthread_stop_world.c
@@
-680,10
+680,14
@@
static void pthread_start_world()
GC_printf0("World started\n");
#endif
#else /* NACL */
+ if (GC_notify_event)
+ GC_notify_event (GC_EVENT_PRE_START_WORLD);
# if DEBUG_THREADS
GC_printf0("World starting\n");
# endif
nacl_park_threads_now = 0;
+ if (GC_notify_event)
+ GC_notify_event (GC_EVENT_POST_START_WORLD);
#endif /* NACL */
}