projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee234e8
)
[runtime] Fixed typo in previous commit, added sleep
author
Alexis Christoforides
<alexis@thenull.net>
Tue, 12 May 2015 20:07:54 +0000
(16:07 -0400)
committer
Alexis Christoforides
<alexis@thenull.net>
Tue, 12 May 2015 20:07:54 +0000
(16:07 -0400)
mono/utils/mono-threads.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-threads.c
b/mono/utils/mono-threads.c
index a372d2a3731d09686ad0c6ea8bcd5e15c7315293..71ad6fd95f3e12a64da029d8dc44d53044b80412 100644
(file)
--- a/
mono/utils/mono-threads.c
+++ b/
mono/utils/mono-threads.c
@@
-493,7
+493,9
@@
mono_threads_attach_tools_thread (void)
/* Must only be called once */
g_assert (!mono_native_tls_get_value (thread_info_key));
- while (mono_threads_inited) { }
+ while (!mono_threads_inited) {
+ g_usleep (10);
+ }
info = mono_thread_info_attach (&dummy);
g_assert (info);