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

Method open

vmm/src/sync_utils.rs:38–42  ·  view source on GitHub ↗

Open the gate, releasing all waiting threads.

(&self)

Source from the content-addressed store, hash-verified

36
37 /// Open the gate, releasing all waiting threads.
38 pub fn open(&self) {
39 let mut open = self.open.lock().unwrap();
40 *open = true;
41 self.cv.notify_all();
42 }
43}
44
45#[cfg(test)]

Callers 15

newMethod · 0.80
start_vmmFunction · 0.80
create_loop_deviceFunction · 0.80
set_corrupt_flagFunction · 0.80
_test_pty_interactionFunction · 0.80
_test_ivshmemFunction · 0.80
gate_blocks_until_openFunction · 0.80
gate_open_is_idempotentFunction · 0.80
try_dev_userfaultfdFunction · 0.80

Calls

no outgoing calls