Class Notify

#include <Notify.hpp>
classNotify{ ... }

Synchronization primitive that allows a task to wait for notifications, be it from another task or synchronous code. Notify can safely be copied around, and it will still reference the same internal state.

Examples0
Public static methods0
Public member functions4
arc::Notify&operator=()
No description provided
arc::Notifiednotified()const

Returns an awaitable future that completes when notified.

voidnotifyOne(
boolstore
)
const

Notifies one waiter. If no waiter is present, up to a single permit can be stored, and the next call to notified() will complete immediately. This does not happen if store is false.

voidnotifyAll()const

Notifies all waiters, no permits are stored.

Fields0
Protected member functions0
Protected fields0
Derived classes0