9 #ifndef INCLUDE_UTILITY_H_ 10 #define INCLUDE_UTILITY_H_ 12 #include <sys/types.h> 19 #include <system_error> 23 #define MEMKEY 0x45861534 24 #define SEMKEY 0x45861534 25 #define MSGKEY 0x45861534 87 extern int p(
int sem,
int counter);
95 extern int v(
int sem,
int counter);
104 extern int semsetall(
int sem_group,
int number_in_group,
int value);
106 #endif // INCLUDE_UTILITY_H_
const unsigned NUMMODULES
Definition: utility.h:30
intptr_t generic_t
Definition: utility.h:45
int semsetall(int sem_group, int number_in_group, int value)
Definition: utility.cpp:25
long type
Definition: utility.h:60
const unsigned CREATE_SUB
Definition: utility.h:42
const unsigned TEMP_BIT
Definition: utility.h:35
const unsigned SUB_BIT
Definition: utility.h:33
const unsigned CREATE_PUB
Definition: utility.h:38
int val
Definition: utility.h:68
int v(int sem, int counter)
Definition: utility.cpp:54
uint sem_id_t
Definition: utility.h:49
intptr_t * connect_shm()
Definition: utility.cpp:11
int p(int sem, int counter)
Definition: utility.cpp:39
struct semid_ds * buf
Definition: utility.h:70
long octopOS_id_t
Definition: utility.h:47
unsigned short * array
Definition: utility.h:72
const unsigned PUBLISH_CODE
Definition: utility.h:40