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

Method spin_mutex_1

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

Source from the content-addressed store, hash-verified

89 }
90
91 fn spin_mutex_1(&self) {
92 match *self.mu3.lock() {
93 1 => { self.recur() },
94 _ => { self.spin_mutex_2(); },
95 };
96 }
97
98 fn recur(&self) {
99 self.spin_mutex_1();

Callers 2

recurMethod · 0.80
mainFunction · 0.80

Calls 2

recurMethod · 0.80
spin_mutex_2Method · 0.80

Tested by

no test coverage detected