CBL_THREAD_PROG_UNLOCK

With CBL_THREAD_PROG_LOCK, provides a single pre-initialized synchronization object per calling COBOL program

Syntax:
call "CBL_THREAD_PROG_UNLOCK"
Parameters:

None.

On Exit:
return-code A value indicating success or otherwise. See RETURN-CODE Values For Thread-control Routines
Comments:

This function, in conjunction with CBL_THREAD_PROG_LOCK, provides a single pre-initialized synchronization object per calling COBOL program. This makes it especially useful for initializing any program local data items or synchronization objects.

Example:

Using the Program Thread-locking Routines

These functions must be called either directly or indirectly from a COBOL program. The calling COBOL program is the one with which the lock is associated.

See Also: