Python for OpenVMS
(go to: table of contents,
index, list of vms_sys,
prev: DELPRC,
next: DEVICE_SCAN)
DEQ - Dequeue Lock Request
Note: the 'vms_lckdef' module contains
bitmasks and constants that are defined in '$LCKDEF'.
Format:
status, valblk = vms_sys.deq ([lkid], [valblk],\
[acmode] ,[flags])
Returns:
- status
- The condition value from SYS$DEQ().
- valblk
- The lock value block as altered by SYS$DEQ(). It is always returned, even
if you specified 'None' for the 'valblk' argument.
Arguments:
- lkid
- Lock identification of the lock to be dequeued. A Python integer.
- valblk
- Lock value block for the resource to be dequeued. A Python long integer.
The programmer defines the meanings of these 128 bits.
- acmode
- Processor access mode. A Python integer. There is no 'vms_psldef' module.
The interface code currently runs in user-mode only. As the access mode is
maximized this implies always user-mode.
- flags
- Options for the DEQueue operation. A Python integer.
Bitmasks are available in module 'vms_lckdef' -
see the 'OpenVMS System Services Reference Manual' for details about these
bits.
Examples:
See the examples section of the
vms_sys.enqw() routine.
(go to: table of contents,
index, list of vms_sys,
prev: DELPRC,
next: DEVICE_SCAN)
30-MAY-1999 ZE.