MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / join_thread

Method join_thread

vmm/src/cpu.rs:827–833  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

825 }
826
827 fn join_thread(&mut self) -> Result<()> {
828 if let Some(handle) = self.handle.take() {
829 handle.join().map_err(Error::ThreadCleanup)?;
830 }
831
832 Ok(())
833 }
834
835 fn unpark_thread(&self) {
836 if let Some(handle) = self.handle.as_ref() {

Callers 2

shutdownMethod · 0.80
remove_vcpuMethod · 0.80

Calls 1

takeMethod · 0.80

Tested by

no test coverage detected