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

Method add_attach_wait_yields

crates/vm/src/vm/mod.rs:476–481  ·  view source on GitHub ↗
(&self, n: u64)

Source from the content-addressed store, hash-verified

474
475 #[inline]
476 pub(crate) fn add_attach_wait_yields(&self, n: u64) {
477 if n != 0 {
478 self.stats_attach_wait_yields
479 .fetch_add(n, Ordering::Relaxed);
480 }
481 }
482
483 #[inline]
484 pub(crate) fn add_suspend_wait_yields(&self, n: u64) {

Callers 1

attach_threadFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected