qc.hlp (Table of Contents; Topic list)
locking Constants
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Constant:  LK_LOCK, LK_RLCK, LK_NBLCK, LK_NBRLCK, LK_UNLCK
 
  Include:   <sys\locking.h>
 
  Context:   locking
 
  Synopsis:  The <mode> argument in the call to the locking
             function specifies the locking action to be performed.
             It must be one of the following manifest constants:
 
     Constant      Action
 
     LK_LOCK       Locks the specified bytes. If the bytes cannot be
                   locked, the function tries again after one second.
                   If, after ten attempts, the bytes cannot be locked,
                   the function returns an error.
 
     LK_RLCK       Same as LK_LOCK.
 
     LK_NBLCK      Locks the specified bytes. If bytes cannot be
                   locked, the function returns an error.
 
     LK_NBRLCK     Same as LK_NBLCK.
 
     LK_UNLCK      Unlocks the specified bytes. (The bytes must have
                   been previously locked.)