Package: glib

Function g-main-context-is-owner

Lambda List

g-main-context-is-owner (context)

Arguments

context -- a g-main-context instance

Return Value

True if the current thread is owner of context.

Details

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

See also

2021-12-10