is_owner
Description:
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. |