kopia lustrzana https://github.com/Hamlib/Hamlib
Make fifo.c thread safe
rodzic
006f724dae
commit
ddb128bbf7
|
@ -137,6 +137,11 @@ typedef struct
|
|||
int head;
|
||||
int tail;
|
||||
int flush; // flush flag for stop_morse
|
||||
#if _PTHREAD_H
|
||||
pthread_mutex_t mutex;
|
||||
#else
|
||||
int mutex;
|
||||
#endif
|
||||
} FIFO_RIG;
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue