1 /** \file ipc.h inter process communication and shared memory routines */
3 /** possible values for shm_attach() */
4 enum shm_attach_mode
{ATTACH_RO
, ATTACH_RW
};
7 int mutex_destroy(int id
);
8 void mutex_lock(int id
);
9 void mutex_unlock(int id
);
10 int shm_new(size_t size
);
11 int shm_attach(int id
, enum shm_attach_mode mode
, void **result
);
12 int shm_detach(void *addr
);
13 int shm_destroy(int id
);
14 size_t shm_get_shmmax(void);