Included Files
- #include <mplib1/mplib1_config.h>
Preprocessor definitions
#define MPLIB1_BPO_LOCK
#define BPO_PID_F_DEBUG
#define BPO_LOCK_MECH_DEFINED
- enum bpo_lock_mode
- {
- BPO_L_READ;
- BPO_L_WRITE;
- }
typedef volatile void* b_lock
- struct use_count_lock
- {
- b_lock ucl_b_lock;
- int ucl_count;
- }
- struct bpo_fl_lock
- {
- b_lock bpo_fl_lock;
- int r_cnt;
- int w_cnt;
- }
- struct bpo_pid_lock
- {
- b_lock bpo_pid_lock;
- pid_t lock_pid;
- int pid_cnt;
- b_lock bpo_unlock;
- pid_t unlock_pid;
- int flags;
- struct timeval lock_time;
- struct timeval lock_duration;
- }