| 65 | } |
| 66 | |
| 67 | void run() { |
| 68 | while (running.load()) { |
| 69 | server.acceptClients(); |
| 70 | fl::this_thread::sleep_for(fl::chrono::milliseconds(1)); // ok sleep for |
| 71 | } |
| 72 | } |
| 73 | }; |
| 74 | |
| 75 | // Poll a condition with sleep between attempts. Loopback TCP is fast but |