std :: async::sync
Struct std::AsyncNotify
struct AsyncNotify {
int permit;
int generation;
int pending_one;
struct WaitList waiters;
struct Spinlock lk;
}Fields
bumped by notify_waiters
notify_one()s handed to woken waiters
std :: async::sync
struct AsyncNotify {
int permit;
int generation;
int pending_one;
struct WaitList waiters;
struct Spinlock lk;
}bumped by notify_waiters
notify_one()s handed to woken waiters