projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56a14b4
)
Enable the new interrupt machinery on x86 + linux|mach.
author
Rodrigo Kumpera
<kumpera@gmail.com>
Wed, 11 May 2011 20:31:34 +0000
(17:31 -0300)
committer
Rodrigo Kumpera
<kumpera@gmail.com>
Wed, 11 May 2011 20:31:34 +0000
(17:31 -0300)
* mono-threads.c (mono_thread_info_new_interrupt_enabled):
Enable it on the targets that have been ported and tested.
mono/utils/mono-threads.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-threads.c
b/mono/utils/mono-threads.c
index f065206a465d1f583b66f976eeef08c6d35ab08c..dc16ae00911c1f065971d80ffec871ec4bc5ecdc 100644
(file)
--- a/
mono/utils/mono-threads.c
+++ b/
mono/utils/mono-threads.c
@@
-478,5
+478,16
@@
which means mono-context and setup_async_callback, and we need a mono-threads ba
gboolean
mono_thread_info_new_interrupt_enabled (void)
{
+ /*We need STW gc events to work correctly*/
+#if defined (HAVE_BOEHM_GC) && !defined (USE_INCLUDED_LIBGC)
+ return FALSE:
+#endif
+ /*port not done*/
+#if defined(HOST_WIN32)
+ return FALSE;
+#endif
+#if defined (__i386__)
+ return TRUE;
+#endif
return FALSE;
}