File mplib1/bpo_lock.h


Included Files


Preprocessor definitions

#define MPLIB1_BPO_LOCK

#define BPO_PID_F_DEBUG

#define BPO_LOCK_MECH_DEFINED


Type enum bpo_lock_mode

enum bpo_lock_mode
enum bpo_lock_mode  
   {  
      BPO_L_READ;  
      BPO_L_WRITE;  
   }  

Typedef b_lock_t

typedef volatile void* b_lock_t

Typedef b_lock

typedef volatile void* b_lock

Type struct use_count_lock

struct use_count_lock
struct use_count_lock  
   {  
      b_lock_t ucl_b_lock;  
      int ucl_count;  
   }  

Type struct bpo_fl_lock

struct bpo_fl_lock
struct bpo_fl_lock  
   {  
      b_lock_t bpo_fl_lock;  
      int r_cnt;  
      int w_cnt;  
   }  

Type struct bpo_pid_lock

struct bpo_pid_lock
struct bpo_pid_lock  
   {  
      b_lock_t bpo_pid_lock;  
      pid_t lock_pid;  
      int pid_cnt;  
      b_lock_t bpo_unlock;  
      pid_t unlock_pid;  
      int flags;  
      struct timeval lock_time;  
      struct timeval lock_duration;  
   }