| 29 | #include "fifo.h" |
| 30 | |
| 31 | void initFIFO(FIFO_RIG *fifo) |
| 32 | { |
| 33 | fifo->head = 0; |
| 34 | fifo->tail = 0; |
| 35 | static pthread_mutex_t t = PTHREAD_MUTEX_INITIALIZER; |
| 36 | fifo->mutex = t; |
| 37 | } |
| 38 | |
| 39 | void resetFIFO(FIFO_RIG *fifo) |
| 40 | { |
no outgoing calls
no test coverage detected