mucking about every second with the neighbor tables is plenty
| 126 | |
| 127 | // mucking about every second with the neighbor tables is plenty |
| 128 | void* 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 |