Library /sys$common/syshlp/helplib.hlb  —  System Services, $ENQ
    Queues a new lock or lock conversion on a resource.

    The $ENQ, $ENQW, $DEQ (Dequeue Lock Request), and $GETLKI (Get
    Lock Information) services together provide the user interface to
    the Lock Management facility.

    On Alpha and Integrity server systems, this service accepts 64-
    bit addresses.

    For additional information about system service completion, see
    the Synchronize ($SYNCH) service.

    Format

      SYS$ENQ  [efn] ,lkmode ,lksb ,[flags] ,[resnam] ,[parid]

               ,[astadr] ,[astprm] ,[blkast] ,[acmode] ,[rsdm_id]

               ,[nullarg]

    C Prototype

      int sys$enq  (unsigned int efn, unsigned int lkmode,

                   struct _lksb *lksb, unsigned int flags,

                   void *resnam, unsigned int parid, void

                   (*astadr)(__unknown_params), unsigned int acmode,

                   unsigned int rsdm_id,...);
Additional Information: explode extract
Arguments
Close Help