MCPcopy Create free account
hub / github.com/AimRT/AimRT / Start

Method Start

src/runtime/core/executor/simple_thread_executor.cc:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void SimpleThreadExecutor::Start() {
114 AIMRT_CHECK_ERROR_THROW(
115 std::atomic_exchange(&state_, State::kStart) == State::kInit,
116 "Method can only be called when state is 'Init'.");
117}
118
119void SimpleThreadExecutor::Shutdown() {
120 if (std::atomic_exchange(&state_, State::kShutdown) == State::kShutdown)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected