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

Method serviceLoop1

Peering/Peering.cpp:128–137  ·  view source on GitHub ↗

mucking about every second with the neighbor tables is plenty

Source from the content-addressed store, hash-verified

126
127// mucking about every second with the neighbor tables is plenty
128void* PeerInterface::serviceLoop1(void*)
129{
130 // gTRX.C0() needs some time to get ready
131 sleep(8);
132 while (1) {
133 gNeighborTable.refresh();
134 sleep(1); // (pat) Every second? Give me a break.
135 }
136 return NULL;
137}
138
139// this loop services, among other things, the IND and ACK HANDOVER_COMPLETE, which affects the
140// handover gap in the call. so it needs to be short. Like 10msec = 10000usec

Callers 1

fooFunction · 0.80

Calls 1

refreshMethod · 0.80

Tested by

no test coverage detected