Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeSentryAI/lockbud
/ parking_lot_mutex_1
Method
parking_lot_mutex_1
toys/inter/src/main.rs:58–63 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
56
}
57
58
fn parking_lot_mutex_1(&self) {
59
match *self.mu2.lock() {
60
1 => {},
61
_ => { self.parking_lot_mutex_2(); },
62
};
63
}
64
65
fn parking_lot_mutex_2(&self) {
66
*self.mu2.lock() += 1;
Callers
1
main
Function · 0.80
Calls
1
parking_lot_mutex_2
Method · 0.80
Tested by
no test coverage detected