X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fthreads.h;h=b7f11b765c0e944c52e22899f4f0715939357495;hb=cd0f05d6fd528c0f63327a908e2be2f4a9620933;hp=a2dfeffae9ad982ea174ab4dbf9f84e924330130;hpb=c4aef31eeea309e6a795c84c098ac8e1a2490340;p=mono.git diff --git a/mono/metadata/threads.h b/mono/metadata/threads.h index a2dfeffae9a..b7f11b765c0 100644 --- a/mono/metadata/threads.h +++ b/mono/metadata/threads.h @@ -22,6 +22,7 @@ extern int mono_thread_get_abort_signal (void); extern void mono_thread_init (MonoThreadStartCB start_cb, MonoThreadAttachCB attach_cb); +extern void mono_thread_cleanup (void); extern void mono_thread_manage(void); extern void mono_thread_abort_all_other_threads (void); extern void mono_thread_suspend_all_other_threads (void); @@ -42,15 +43,6 @@ extern MonoThread *mono_thread_get_main (void); extern void mono_thread_stop (MonoThread *thread); -typedef struct { - gpointer (* thread_start_compile_func) (MonoMethod *delegate); - void (* thread_created) (gsize tid, gpointer stack_start, gpointer func); - void (* start_resume) (gsize tid); - void (* end_resume) (gsize tid); -} MonoThreadCallbacks; - -extern void mono_install_thread_callbacks (MonoThreadCallbacks *callbacks); - extern void mono_thread_new_init (gsize tid, gpointer stack_start, gpointer func); extern void mono_thread_create (MonoDomain *domain, gpointer func, gpointer arg); @@ -65,10 +57,6 @@ extern guint32 mono_threads_get_default_stacksize (void); guint32 mono_alloc_special_static_data (guint32 static_type, guint32 size, guint32 align); gpointer mono_get_special_static_data (guint32 offset); -void mono_gc_stop_world (void); - -void mono_gc_start_world (void); - void mono_threads_request_thread_dump (void); extern MonoException* mono_thread_request_interruption (gboolean running_managed);