Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / metadata / threads.h
index 5a0c79c7cca732b1ffeff80292a6ad943d1114e5..bad65287b58d49393c804f3d772af7416ed4aac0 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * threads.h: Threading API
+/**
+ * \file
+ * Threading API
  *
  * Author:
  *     Dick Porter (dick@ximian.com)
@@ -30,7 +31,7 @@ extern MONO_API MonoThread *mono_thread_current (void);
 extern MONO_API void        mono_thread_set_main (MonoThread *thread);
 extern MONO_API MonoThread *mono_thread_get_main (void);
 
-extern MONO_API void mono_thread_stop (MonoThread *thread);
+extern MONO_RT_EXTERNAL_ONLY MONO_API void mono_thread_stop (MonoThread *thread);
 
 extern MONO_API void mono_thread_new_init (intptr_t tid, void* stack_start,
                                  void* func);
@@ -54,7 +55,7 @@ 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);
+extern MONO_API mono_bool mono_thread_detach_if_exiting (void);
 
 MONO_END_DECLS