CBL_MONITOR_CLOSE

Syntax:

call "CBL_MONITOR_CLOSE" using by value monitor-handle

Parameters:

  Using call prototype (see Key) Picture
monitor-handle cblt-pointer usage pointer.

On Entry:

monitor-handle The monitor handle.

On Exit:

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:

If this process is the last process that has a handle to the monitor, then the monitor is destroyed.

Behavior is undefined if monitor-handle is invalid.