Files
cpp-httplib/test
yhirose 1b914e1597 Fix a lost wake() in PollPoller
wait() cleared the pending flag before reading the wake byte. A wake()
landing in between sent a second byte, the read took both, and the flag
stayed set with nothing left to read, so every later wake() was skipped
and the waiting thread slept on. Clear the flag after the read instead,
as libuv does for uv_async_send(): a wake() that lands in between finds
the flag still set and sends nothing, which loses nothing because the
caller looks at its shared state after wait() returns.
2026-11-20 23:39:33 -05:00
..
2021-09-11 14:26:48 -04:00
2021-09-11 14:26:48 -04:00
2017-12-29 22:34:59 -05:00
2026-11-20 23:39:33 -05:00
2013-07-04 18:18:52 -04:00
2024-11-16 11:14:13 -05:00