MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / writeFIFO

Method writeFIFO

Peering/Peering.cpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84
85void PeerMessageFIFOMap::writeFIFO(unsigned transactionID, const char* msg)
86{
87 PeerMessageFIFO* FIFO = readNoBlock(transactionID);
88 if (!FIFO) {
89 LOG(NOTICE) << "attempt to write non-existent FIFO " << transactionID;
90 return;
91 }
92 FIFO->write(strdup(msg));
93}
94
95
96

Callers 1

processMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected