projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[runtime] Fixed typo in previous commit, added sleep
[mono.git]
/
mono
/
utils
/
mono-threads.c
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);