is_owner


Description:

[ Version ( since = "2.10" ) ]
public bool is_owner ()

Determines whether this thread holds the (recursive) ownership of this MainContext.

This is useful to know before waiting on another thread that may be blocking to get ownership of this.

Parameters:

this

a MainContext (if null, the global-default main context will be used)

Returns:

true if current thread is owner of this.