|
Boost Users : |
From: Keith Bennett (kanezor_at_[hidden])
Date: 2023-12-06 22:30:02
On Wed, Dec 6, 2023 at 8:46â¯AM Richard Hodges via Boost-users <
boost-users_at_[hidden]> 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net