MLIR
20.0.0git
|
Public Member Functions | |
AsyncToken (AsyncRuntime *runtime) | |
Public Attributes | |
std::atomic< State::StateEnum > | state |
std::mutex | mu |
std::condition_variable | cv |
std::vector< std::function< void()> > | awaiters |
Definition at line 171 of file AsyncRuntime.cpp.
|
inline |
Definition at line 177 of file AsyncRuntime.cpp.
std::vector<std::function<void()> > mlir::runtime::AsyncToken::awaiters |
Definition at line 185 of file AsyncRuntime.cpp.
Referenced by mlir::runtime::mlirAsyncRuntimeAddTokenToGroup(), and mlir::runtime::mlirAsyncRuntimeAwaitTokenAndExecute().
std::condition_variable mlir::runtime::AsyncToken::cv |
Definition at line 184 of file AsyncRuntime.cpp.
Referenced by mlir::runtime::mlirAsyncRuntimeAwaitToken().
std::mutex mlir::runtime::AsyncToken::mu |
Definition at line 183 of file AsyncRuntime.cpp.
Referenced by mlir::runtime::mlirAsyncRuntimeAddTokenToGroup(), mlir::runtime::mlirAsyncRuntimeAwaitToken(), and mlir::runtime::mlirAsyncRuntimeAwaitTokenAndExecute().
std::atomic<State::StateEnum> mlir::runtime::AsyncToken::state |
Definition at line 180 of file AsyncRuntime.cpp.
Referenced by mlir::runtime::mlirAsyncRuntimeAddTokenToGroup(), mlir::runtime::mlirAsyncRuntimeAwaitToken(), mlir::runtime::mlirAsyncRuntimeAwaitTokenAndExecute(), and mlir::runtime::mlirAsyncRuntimeIsTokenError().