call "CBL_MUTEX_ACQUIRE" using by value mutex-handle
by value nowait-flag
| Using call prototype (see Key) | Picture | |
|---|---|---|
| mutex-handle | cblt-pointer. | usage pointer. |
| nowait-flag | cblt-os-flags. | pic x(4) comp-5
or pic x(8) comp-5 (64-bit native programs only) |
| 0 | The routine blocks the thread/process until the mutex can be acquired . |
| 1 | The routine returns immediately with a non-zero return value. |
Comments:
Behavior is undefined if mutex-handle is invalid.