used only from Wait()
| 306 | |
| 307 | //used only from Wait() |
| 308 | void RegisterRequest(TRequestSupervisor* rs) { |
| 309 | if (rs->Deadline() != TInstant::Max()) { |
| 310 | RS_.Insert(rs); |
| 311 | } else { |
| 312 | rs->ResetRequest(); //prevent blocking destruction 'endless' requests |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | void CleanQueue() { |
| 317 | TAutoPtr<IJob> j; |
no test coverage detected