mono_thread_attach
mono_thread_create
mono_thread_current
mono_thread_detach
mono_thread_exit
mono_thread_get_managed_id
Thread.ManagedThreadId
value of thread.
Returns -1
if thread is NULL
.mono_thread_get_name_utf8
NULL
if the thread has no name.
The returned memory is owned by the caller (g_free it).mono_thread_is_foreign
thread | the thread to query |
TRUE
if thread was not created by the runtime.
This function allows one to determine if a thread was created by the mono runtime and has a well defined lifecycle or it's a foreign one, created by the native environment.
mono_thread_manage
mono_thread_new_init
mono_threads_get_default_stacksize
mono_threads_set_default_stacksize
mono_thread_set_manage_callback
mono_thread_stop
mono_thread_get_main
mono_thread_set_main
thread | thread to set as the main thread |
Main
method. This basically means that at the end of thread, the runtime will
wait for the existing foreground threads to quit and other such details.mono_monitor_enter
mono_monitor_enter_v4
mono_monitor_exit
mono_monitor_try_enter
mono_thread_cleanup
mono_thread_detach_if_exiting
Detach the current thread from the runtime if it is exiting, i.e. it is running pthread dtors.
This should be used at the end of embedding code which calls into managed code, and which
can be called from pthread dtors, like dealloc:
implementations in Objective-C.