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

Method std_rwlock_write_1

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

Source from the content-addressed store, hash-verified

41 }
42
43 fn std_rwlock_write_1(&self) {
44 match *self.rw1.write().unwrap() {
45 1 => { self.std_rwlock_write_2(); },
46 _ => { self.std_rwlock_read_2(); },
47 };
48 }
49
50 fn std_rwlock_read_2(&self) {
51 let _ = *self.rw1.read().unwrap();

Callers 1

mainFunction · 0.80

Calls 2

std_rwlock_write_2Method · 0.80
std_rwlock_read_2Method · 0.80

Tested by

no test coverage detected