MCPcopy Create free account
hub / github.com/NetSys/bess / InternalBeginExiting

Method InternalBeginExiting

core/utils/syscallthread.h:285–285  ·  view source on GitHub ↗

Marks thread as exiting.

Source from the content-addressed store, hash-verified

283
284 // Marks thread as exiting.
285 void InternalBeginExiting() { state_ = ThreadState::kExiting; }
286
287 // Detect whether thread is marked "exiting" or "exited".
288 bool ExitingOrExited() const { return state_ >= ThreadState::kExiting; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected