CasLock Struct Reference


Detailed Description

CAS Lock Manager Control Block.

The control block for the CAS lock manager function, which handles locks for synchronizing resource access.

Definition at line 264 of file cas-env.h.

Data Fields

mf_uns32 Version
 structure version (CasLK_CURRENT)
mf_uns32 Function
 function (CasLK_ENQUEUE or CasLK_DEQUEUE)
mf_uns32 Type
 operation type
mf_uns32 Count
 number of locks
struct {
   char *   RName
 resource name
   char   QName [8]
 qualifier name
   mf_uns32   RetCode
 return code (see CAS Lock Manager Return Codes)
   mf_uns8   RNameLen
 length of rname
   mf_uns8   Share
 sharing state (CasLK_SHARE or CasLK_EXCL)
   mf_uns8   Scope
 lock scope (CasLK_SERVER)
   mf_uns8   Lifetime
 lock lifetime (see CAS Lock Manager Lock Lifetime)
   mf_uns8   Filler [16]
Lock [1]
 array of locks (255 max)


The documentation for this struct was generated from the following file: