#include <stdio.h>
#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>
#include <stdint.h>
#include <unistd.h>
Go to the source code of this file.
◆ DEFAULT_KEY
| #define DEFAULT_KEY 85549 |
◆ semaphore_close()
| void semaphore_close |
( |
struct semaphore * |
semap | ) |
|
◆ semaphore_create()
| struct semaphore* semaphore_create |
( |
const char * |
semaphore_name, |
|
|
unsigned |
qs |
|
) |
| |
◆ semaphore_open()
| struct semaphore* semaphore_open |
( |
const char * |
semaphore_name | ) |
|