X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fthreads.h;h=2678789b6e6c2cc7d4c1d873b1f3b85eb7efe779;hb=457c9722a4bc7ead4d13d62dd6c4c56dfa24d8c0;hp=cd084ae50ce8e517ab39b61f586e3fc2d356c507;hpb=2d23bfcbce7a3f7e54dcd5911adb88b244baca35;p=mono.git diff --git a/mono/metadata/threads.h b/mono/metadata/threads.h index cd084ae50ce..2678789b6e6 100644 --- a/mono/metadata/threads.h +++ b/mono/metadata/threads.h @@ -17,8 +17,6 @@ MONO_BEGIN_DECLS -typedef void (*MonoThreadCleanupFunc) (MonoThread* thread); - /* This callback should return TRUE if the runtime must wait for the thread, FALSE otherwise */ typedef mono_bool (*MonoThreadManageCallback) (MonoThread* thread); @@ -41,7 +39,6 @@ extern MonoThread *mono_thread_attach (MonoDomain *domain); extern void mono_thread_detach (MonoThread *thread); extern void mono_thread_exit (void); -void mono_threads_install_cleanup (MonoThreadCleanupFunc func); void mono_thread_set_manage_callback (MonoThread *thread, MonoThreadManageCallback func); extern void mono_threads_set_default_stacksize (uint32_t stacksize); @@ -49,6 +46,8 @@ extern uint32_t mono_threads_get_default_stacksize (void); void mono_threads_request_thread_dump (void); +mono_bool mono_thread_is_foreign (MonoThread *thread); + MONO_END_DECLS #endif /* _MONO_METADATA_THREADS_H_ */