| 264 | } |
| 265 | |
| 266 | bool Start(int port, int physicalCpu) { |
| 267 | Y_ASSERT(Host_.Get() == nullptr); |
| 268 | Port_ = port; |
| 269 | PhysicalCpu_ = physicalCpu; |
| 270 | MyThread_.Start(); |
| 271 | HasStarted_.Wait(); |
| 272 | return Host_.Get() != nullptr; |
| 273 | } |
| 274 | |
| 275 | void EnableReportRequestCancel() override { |
| 276 | ReportRequestCancel_ = true; |
no test coverage detected