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