MCPcopy Create free account
hub / github.com/SNAS/openbmp / safeQueue

Method safeQueue

Server/src/safeQueue.hpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected