[ Version ( since = "2.10" ) ]
public bool is_owner ()
Determines whether this thread holds the (recursive) ownership of this [struct@GLib.
MainContext].
This is useful to know before waiting on another thread that may be blocking to get ownership of this.
| this |
a main context (if `NULL`, the global-default main context will be used) |
|
true if current thread is owner of this, false otherwise |