mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add initiallySignaled parameter to WaitableEvent
This commit is contained in:
@@ -44,8 +44,11 @@ public:
|
||||
@param manualReset If this is false, the event will be reset automatically when the wait()
|
||||
method is called. If manualReset is true, then once the event is signalled,
|
||||
the only way to reset it will be by calling the reset() method.
|
||||
|
||||
@param initiallySignaled If this is true then the event will be signaled when
|
||||
the constructor returns.
|
||||
*/
|
||||
explicit WaitableEvent (bool manualReset = false) noexcept;
|
||||
explicit WaitableEvent (bool manualReset = false, bool initiallySignaled = false) noexcept;
|
||||
|
||||
/** Destructor.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user