| 40 | */ |
| 41 | |
| 42 | safeQueue(uint32_t limit=0) : queue<type>() { |
| 43 | |
| 44 | this->limit = limit; |
| 45 | |
| 46 | // Initialize the mutex variable |
| 47 | pthread_mutex_init(&mutex, NULL); |
| 48 | } |
| 49 | |
| 50 | ~safeQueue(){ |
| 51 | // Free the mutex |
nothing calls this directly
no outgoing calls
no test coverage detected