Specifications

OpenVMS System Routines Called by OpenVMS AXP Device Drivers
IOC$CANCEL_CNT_RES
IOC$CANCEL_CNT_RES
Cancels a thread that has been stalled waiting for a counted resource.
Module
ALLOC_CNT_RES
Format
IOC$CANCEL_CNT_RES crab ,crctx [,resume_ag]
Context
IOC$CANCEL_CNT_RES conforms to the OpenVMS AXP calling standard. Its
caller must be executing at fork IPL, holding the corresponding fork lock.
Arguments
crab
VMS Usage: address
type: longword (unsigned)
access: read only
mechanism: by reference
Address of CRAB that describes the counted resource. For adapters that supply
a counted resource, such as map registers, ADP$L_CRAB often contains this
address.
crctx
VMS Usage: address
type: longword (unsigned)
access: read only
mechanism: by reference
Address of CRCTX structure that describes the request for the counted resource.
[resume_flag]
VMS Usage: boolean
type: longword (unsigned)
access: read only
mechanism: by value
Indication of whether the cancelled thread should be resumed. If true,
IOC$CANCEL_CNT_RES calls the driver callback routine with SS$_CANCEL
status. If not specified or false, IOC$CANCEL_CNT_RES does not resume the
cancelled thread.
Returns
VMS Usage: cond_value
type: longword_unsigned
access: longword (unsigned)
mechanism: write only—by value
Status indicating the success or failure of the operation.
A–12