Tests whether an exclusive lock has been claimed by the current thread.
open
| object | An instance of <exclusive-lock>. |
| owned? | An instance of <boolean>. |
Tests whether an exclusive lock has been claimed by the current thread. | |
The method on <read-write-lock> returns true if the current thread owns the lock in write mode. |
The method on <read-write-lock> returns true if the current thread owns the lock in write mode.