Included Files
- #include <mplib1/mplib1_config.h>
- #include <mplib1/bpo_lock.h>
- #include <mplib1/bpo_list.h>
- #include <sys/types.h>
- #include <stdio.h>
- #include <mplib1/bpo_init.h>
- #include <mplib1/bpo_alloc.h>
- #include <mplib1/bpo_proc.h>
Preprocessor definitions
#define MPLIB1_BPO_QUEUE
#define Q_NM_UNKNOWN 0
#define Q_NM_NONE 1
#define Q_NM_PIPE 2
#define Q_SOLE_READER
#define Q_MULTI_READ
#define Q_WRITER
#define Q_PERSISTENT
#define Q_DELETED
#define Q_DEBUG
#define Q_CHECK_ALL_QUEUES 1
#define Q_CHECK_THIS_QUEUE 2
#define Q_CHECK_DEAD_QUEUES 3
#define Q_LEAVE_QUEUE 0
#define Q_DELETE_QUEUE 1
- struct bpo_Q
- {
- bpo_Node Q_Node;
- bpo_List Q_List;
- int Q_Count;
- int Q_max_count;
- int Q_notify;
- int Q_flags;
- pid_t Q_sole_pid;
- bpo_List Q_pid_r_list;
- char Q_name[1];
- }
- struct bpo_Q_Mesg
- {
- bpo_Node Q_Node;
- off_t reply_Q;
- }