| 466 | } |
| 467 | |
| 468 | void* TUdpHost::ExecServerThread(void* param) { |
| 469 | TUdpHost* pThis = reinterpret_cast<TUdpHost*>(param); |
| 470 | BindToSocket(0); |
| 471 | SetHighestThreadPriority(); |
| 472 | pThis->HasStarted.Signal(); |
| 473 | while (AtomicAdd(pThis->Run, 0)) { |
| 474 | pThis->StepLow(); |
| 475 | pThis->WaitLow(0.1f); |
| 476 | } |
| 477 | pThis->StepLow(); //one step in case of exit to empty TTXQueue |
| 478 | return nullptr; |
| 479 | } |
| 480 | |
| 481 | TUdpHost::~TUdpHost() { |
| 482 | TUdpRequest* req = nullptr; |
nothing calls this directly
no test coverage detected