CBL_MUTEX_OPEN_INTRA

Create an intra-process mutex.

Syntax:
call "CBL_MUTEX_OPEN_INTRA" using by reference mutex-handle
                            by value           open-flags
Parameters:
Using call prototype (see Library Routines - Key) Picture (32-bit systems)
mutex-handle cblt-pointer. usage pointer.
open-flags cblt-os-flags. pic x(4) comp-5.
On Entry:
open-flags A 32-bit number that determines how the mutex is to be opened:
Bits Meaning
0
0 Mutex is not acquired by the current thread at creation.
1 Mutex is acquired by the current thread at creation.
1-31 Reserved. Set to zero
On Exit:
mutex-handle Mutex handle
return-code A value of 0 indicates that the call was successful. Any other value indicates an error. See RETURN-CODE Values For Synchronization Routines.
Comments:

mutex-handle is local to the process.

See Also: