MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / shutdown

Method shutdown

cranelift/filetests/src/concurrent.rs:76–78  ·  view source on GitHub ↗

Shut down worker threads orderly. They will finish any queued jobs first.

(&mut self)

Source from the content-addressed store, hash-verified

74
75 /// Shut down worker threads orderly. They will finish any queued jobs first.
76 pub fn shutdown(&mut self) {
77 self.request_tx = None;
78 }
79
80 /// Join all the worker threads.
81 /// Transfer pass timings from the worker threads to the current thread.

Callers 1

drain_threadsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected