Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeSentryAI/lockbud
/ std_rw_1
Method
std_rw_1
toys/conflict-inter/src/main.rs:28–33 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
26
}
27
28
fn std_rw_1(&self) {
29
match *self.rw1.read().unwrap() {
30
1 => {},
31
_ => { self.std_mutex_2(); },
32
}
33
}
34
35
fn std_mutex_2(&self) {
36
*self.mu1.lock().unwrap() += 1;
Callers
1
main
Function · 0.80
Calls
1
std_mutex_2
Method · 0.45
Tested by
no test coverage detected