[sgen] Evacuate from emptier blocks to fuller ones
[mono.git] / mono / metadata / threads.h
index ab3f6cba7ddaa36859279b8bb04c410388a35809..99762e9da005e13e94897fe763dfe67f00c83341 100644 (file)
@@ -39,6 +39,9 @@ extern MONO_API MonoThread *mono_thread_attach (MonoDomain *domain);
 extern MONO_API void mono_thread_detach (MonoThread *thread);
 extern MONO_API void mono_thread_exit (void);
 
+extern MONO_API char   *mono_thread_get_name_utf8 (MonoThread *thread);
+extern MONO_API int32_t mono_thread_get_managed_id (MonoThread *thread);
+
 MONO_API void     mono_thread_set_manage_callback (MonoThread *thread, MonoThreadManageCallback func);
 
 extern MONO_API void mono_threads_set_default_stacksize (uint32_t stacksize);
@@ -48,6 +51,8 @@ MONO_API void mono_threads_request_thread_dump (void);
 
 MONO_API mono_bool mono_thread_is_foreign (MonoThread *thread);
 
+extern MONO_API void mono_thread_detach_if_exiting (void);
+
 MONO_END_DECLS
 
 #endif /* _MONO_METADATA_THREADS_H_ */