Semaphores static again

This commit is contained in:
zenon
2018-06-08 15:16:41 +02:00
parent 255708ebc0
commit 8277a26ed2
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
#define SEM_USED_SPACE "/used_space_01527193"
#define SEM_WRITE_END "/write_end_01527193"
#define MAX_ITEMS 16
#define MAX_ITEMS 32
struct circ_buf {
int quit;
+3 -3
View File
@@ -15,11 +15,11 @@ static struct circ_buf *shared;
int shmfd;
sem_t *sUsedSpace;
static sem_t *sUsedSpace;
sem_t *sFreeSpace;
static sem_t *sFreeSpace;
sem_t *sWriteEnd;
static sem_t *sWriteEnd;
struct sigaction sa;
+3 -3
View File
@@ -14,11 +14,11 @@ struct circ_buf *shared;
int shmfd;
sem_t *sUsedSpace;
static sem_t *sUsedSpace;
sem_t *sFreeSpace;
static sem_t *sFreeSpace;
sem_t *sWriteEnd;
static sem_t *sWriteEnd;
struct sigaction sa;