std1.0.0-beta-7 SafeC docs

std :: async::sync

Struct std::SemAcquire

#include <std/async/sync.h> source

struct SemAcquire {
    ?&AsyncSemaphore s;
    long long n;
    int wait_id;
    int done;
}

Fields

§long long nsource
§int wait_idsource
§int donesource

Methods

§struct Poll<Unit> poll(&Context cx)source · definition
§void drop()source · definition