On Wed, Dec 6, 2023 at 8:46 AM Richard Hodges via Boost-users <
boost-users@lists.boost.org> wrote:

> The other way is to use an asio steady_timer. You would cancel the timer
> in order to signal the condition. The waiter would see this as an
> *operation_aborted* error, which would indicate, "you have been
> signalled".
> You can set the timer to expires_at(std::chrono::steady_clock::max()) to
> indicate that the wait should be indefinite.
>

Ahh right, I forgot about infinite waits on a timer. That will solve it,
thank you!

-- 
Keith Bennett
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to