#include <pthread.h>#include <sys/shm.h>#include <sys/ipc.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/mman.h>#include <fcntl.h>#include <cstdlib>
Go to the source code of this file.
Classes | |
| struct | shm_buf |
| struct | semaphore |
Macros | |
| #define | DEFAULT_KEY 85549 |
Typedefs | |
| typedef struct semaphore | semaphore_t |
Functions | |
| semaphore_t * | semaphore_create (char *semaphore_name, unsigned qs) |
| semaphore_t * | semaphore_open (char *semaphore_name) |
| void | semaphore_close (semaphore_t *semap) |
| #define DEFAULT_KEY 85549 |
| typedef struct semaphore semaphore_t |
| void semaphore_close | ( | semaphore_t * | semap | ) |
| semaphore_t* semaphore_create | ( | char * | semaphore_name, |
| unsigned | qs | ||
| ) |
| semaphore_t* semaphore_open | ( | char * | semaphore_name | ) |