| 68 | } |
| 69 | |
| 70 | void PolledLogSource::Loop() |
| 71 | { |
| 72 | for (;;) |
| 73 | { |
| 74 | Poll(); |
| 75 | Signal(); |
| 76 | if (LogSource::AtEnd()) |
| 77 | break; |
| 78 | // sub 16ms sleep, depends on available hardware for accuracy |
| 79 | std::this_thread::sleep_for(m_microsecondInterval); |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | HANDLE PolledLogSource::GetHandle() const |
| 84 | { |
nothing calls this directly
no outgoing calls
no test coverage detected