Tries to become the owner of the specified context.
If some other thread is the owner of the context,
returns FALSE immediately. Ownership is properly
recursive: the owner can require ownership again
and will release ownership when MainContext.release
is called as many times as MainContext.acquire.
Tries to become the owner of the specified context. If some other thread is the owner of the context, returns FALSE immediately. Ownership is properly recursive: the owner can require ownership again and will release ownership when MainContext.release is called as many times as MainContext.acquire.
You must be the owner of a context before you can call MainContext.prepare, MainContext.query, MainContext.check, MainContext.dispatch.