MCPcopy Index your code
hub / github.com/RustPython/RustPython / notify_thread_gone

Method notify_thread_gone

crates/vm/src/vm/mod.rs:440–444  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

438
439 #[inline]
440 pub(crate) fn notify_thread_gone(&self) {
441 let _guard = self.notify_mutex.lock().unwrap();
442 self.decrement_thread_countdown(1);
443 self.notify_cv.notify_one();
444 }
445
446 pub fn stats_snapshot(&self) -> StopTheWorldStats {
447 StopTheWorldStats {

Callers 1

Calls 3

unwrapMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected