MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / std_mutex_1

Method std_mutex_1

toys/inter/src/main.rs:24–30  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

22 }
23
24 fn std_mutex_1(&self) {
25 let guard1 = self.mu1.lock().unwrap();
26 match *guard1 {
27 1 => {},
28 _ => { self.std_mutex_2(); },
29 };
30 }
31
32 fn std_mutex_2(&self) {
33 *self.mu1.lock().unwrap() += 1;

Callers 1

mainFunction · 0.45

Calls 1

std_mutex_2Method · 0.45

Tested by

no test coverage detected