*LINUXREADLOCK (GETMODE)
10.6
*LINUXREADLOCK={ 0 | 1}
The value of this keyword identifies if the Linux OS read locks may be used for PL/B file variables ( FILE, AFILE, IFILE ) opened for record locking.
|
Value |
Linux OS read locks ... |
|
0 |
are not to be used for any file variables opened with this keyword value set to zero. |
|
1 |
may be used for any file variables opened with this keyword value set to one. |
Note the following:
If the 'LINUXREADLOCK' is set to one, any file variable ( FILE, AFILE, IFILE ) opened for record locking with LOCKAUTO, SINGLE, and NOWAIT allows Linux 'read locks' to be used. In this case, the Linux 'read locks' are only used in the following PL/B read instructions:
|
FILE |
READ |
|
AFILE |
READ, READKG, READKGP |
|
IFILE |
READ, READKS, READKP |
The use of Linux OS read locks is only determined by the current value of the LINUXREADLOCK keyword when the file variable is opened using a PL/B OPEN instruction. Also, after a file variable is opened with read locks being used, the Linux read locks continue to be used until the file variable is closed regardless of LINUXREADLOCK keyword setting.
See Also: List Controls (GETMODE), GETMODE
![]() |