call "CBL_THREAD_PROG_UNLOCK"
None.
return-code | A value indicating success or otherwise. See RETURN-CODE Values For Thread-control 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.
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.