PLB_FCNTLWAIT Keyword


PLBLinux, 9.5B

PLB_FCNTLWAIT={ 0 | 1 }

 

This keyword allows the fcntl function used in the FILEPI instruction to execute in a lock wait mode when the value of one (1) is specified. If the lock wait mode is enabled, the fcntl function used to lock a file causes the Linux OS to suspend the current process until a file is locked. Please note that this keyword ONLY takes affect when a FILEPI instruction has one PL/B file variable specified in the FILEPI. If the FILEPI has more than one PL/B file variable specified in the FILEPI instruction, the lock wait mode is ignored to avoid possible dead lock scenarios.

 

 

See Also: PLBLinux Environment Variables, Compiler and Runtime Options



Compiler and Runtime Options PLBWIN_FBOLD Keyword PLBWIN_FILE Keyword