MainContext.isOwner

Determines whether this thread holds the (recursive) ownership of this glib.MainContext This is useful to know before waiting on another thread that may be blocking to get ownership of context.

class MainContext
bool
isOwner
()

Return Value

Type: bool

TRUE if current thread is owner of context.

Meta

Since

2.10