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

Method serviceLoop

Control/RadioResource.cpp:407–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407void Pager::serviceLoop()
408{
409 while (mRunning) {
410 // Wait for pending activity to clear the channel.
411 // This wait is what causes PCH to have lower priority than AGCH.
412 // getPCH returns the minimum load PCH. Each PCH sends one paging message per 51-multiframe.
413 if (unsigned load = gBTS.getPCH()->load()) {
414 LOG(DEBUG) << "Pager waiting with load " << load;
415 sleepFrames(51); // There could be multiple paging channels, in which case this is too long.
416 continue;
417 }
418 newPageAll();
419 }
420}
421
422
423

Callers 1

Calls 4

sleepFramesFunction · 0.85
newPageAllFunction · 0.85
loadMethod · 0.80
getPCHMethod · 0.80

Tested by

no test coverage detected