Method
GLibMainContextis_owner
since: 2.10
Declaration [src]
gboolean
g_main_context_is_owner (
GMainContext* context
)
Description [src]
Determines whether this thread holds the (recursive)
ownership of this GMainContext. This is useful to
know before waiting on another thread that may be
blocking to get ownership of context.
Available since: 2.10
Parameters
context-
Type:
GMainContextA
GMainContext(ifNULL, the global-default main context will be used).The argument can be NULL.