MCPcopy Create free account
hub / github.com/NthTensor/Forte / id

Method id

src/thread_pool.rs:181–184  ·  view source on GitHub ↗
(&'static self)

Source from the content-addressed store, hash-verified

179}
180
181/// Used to manage the lifecycle of a thread.
182struct ThreadControl {
183 /// Tells the thread to shut down when set to true.
184 halt: Arc<AtomicBool>,
185 /// The handle used to wait for the thread to complete.
186 handle: JoinHandle<()>,
187}

Callers 2

get_workerMethod · 0.45
joinMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected