:::tip Experimental
This documents unreleased main — not a released, committed API. See
the API stability policy and use Stable
instead.
:::
Robotiq::ConditionVariable Class
Wait/notify handle: lets threads block until another thread signals.
Included Headers
#include <platform.hpp>
Members
| Public Destructor | |
| ~ConditionVariable ()=default | |
| Public Member Functions | |
| void | waitUntil (Mutex &mutex, std::chrono::steady_clock::time_point timePoint)=0 |
|
Unlock mutex, block until notified or timePoint passes, then relock it. More... | |
| void | notifyAll () noexcept=0 |
Public Destructor
~ConditionVariable()
| virtual default |
Public Member Functions
notifyAll()
| noexcept |
Unblocks every thread currently waiting. Called from destructors, so it cannot throw; waking waiters has no failure worth reporting.
waitUntil()
|
Unlock mutex, block until notified or timePoint passes, then relock it.
- Parameters
-
mutex The lockable object the caller holds; released while blocked.
timePoint The point in time to return if not notified.
The documentation for this class was generated from the following file:
- platform.hpp
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.