Method
GLibMainContextis_owner
since: 2.10
Description
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:
GMainContext
A
GMainContext
(ifNULL
, the global-default main context will be used).The argument can be NULL
.