projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[coop] Use mono_thread_info_usleep which transition to BLOCKING state
[mono.git]
/
mono
/
utils
/
mono-threads.c
diff --git
a/mono/utils/mono-threads.c
b/mono/utils/mono-threads.c
index e677ada8457e84592b1d7a4c61273de6635e71f9..0e67cd6605386a4fbcef76cb17a51763e404303f 100644
(file)
--- a/
mono/utils/mono-threads.c
+++ b/
mono/utils/mono-threads.c
@@
-540,7
+540,7
@@
mono_threads_attach_tools_thread (void)
g_assert (!mono_native_tls_get_value (thread_info_key));
while (!mono_threads_inited) {
-
g
_usleep (10);
+
mono_thread_info
_usleep (10);
}
info = mono_thread_info_attach (&dummy);