projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1691 from esdrubal/exitevent
[mono.git]
/
mono
/
metadata
/
sgen-os-mach.c
diff --git
a/mono/metadata/sgen-os-mach.c
b/mono/metadata/sgen-os-mach.c
index c7c1a9b6fb13494952e7ff944c495c7e7f337187..403d04c3d9a56f95560c27f08f8b55e2d0a0bdd9 100644
(file)
--- a/
mono/metadata/sgen-os-mach.c
+++ b/
mono/metadata/sgen-os-mach.c
@@
-31,6
+31,7
@@
#include "metadata/sgen-gc.h"
#include "metadata/sgen-archdep.h"
#include "metadata/sgen-protocol.h"
#include "metadata/sgen-gc.h"
#include "metadata/sgen-archdep.h"
#include "metadata/sgen-protocol.h"
+#include "metadata/sgen-thread-pool.h"
#include "metadata/object-internals.h"
#include "metadata/gc-internal.h"
#include "metadata/object-internals.h"
#include "metadata/gc-internal.h"
@@
-114,9
+115,12
@@
sgen_thread_handshake (BOOL suspend)
int count = 0;
int count = 0;
+ cur_thread->suspend_done = TRUE;
FOREACH_THREAD_SAFE (info) {
FOREACH_THREAD_SAFE (info) {
- if (info == cur_thread || sgen_
is_worker
_thread (mono_thread_info_get_tid (info)))
+ if (info == cur_thread || sgen_
thread_pool_is_thread_pool
_thread (mono_thread_info_get_tid (info)))
continue;
continue;
+
+ info->suspend_done = FALSE;
if (info->gc_disabled)
continue;
if (info->gc_disabled)
continue;
@@
-143,5
+147,11
@@
mono_gc_get_suspend_signal (void)
{
return -1;
}
{
return -1;
}
+
+int
+mono_gc_get_restart_signal (void)
+{
+ return -1;
+}
#endif
#endif
#endif
#endif