mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-22 18:07:54 +02:00
Add g_main_context_push_thread_default() etc
This allows applications to use async methods from other threads, or in multiple independent main loops. http://bugzilla.gnome.org/show_bug.cgi?id=579984
This commit is contained in:
@@ -462,6 +462,11 @@ g_main_depth
|
||||
g_main_current_source
|
||||
g_main_set_poll_func
|
||||
|
||||
<SUBSECTION>
|
||||
g_main_context_get_thread_default
|
||||
g_main_context_push_thread_default
|
||||
g_main_context_pop_thread_default
|
||||
|
||||
<SUBSECTION>
|
||||
g_timeout_source_new
|
||||
g_timeout_source_new_seconds
|
||||
|
@@ -545,6 +545,30 @@ for the default main context.
|
||||
@Deprecated: 2.2: Use g_main_context_set_poll_func() instead.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_main_context_get_thread_default ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@Returns:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_main_context_push_thread_default ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@context:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_main_context_pop_thread_default ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
@context:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_timeout_source_new ##### -->
|
||||
<para>
|
||||
|
||||
|
Reference in New Issue
Block a user