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

Method std_rwlock_read_1

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

Source from the content-addressed store, hash-verified

34 }
35
36 fn std_rwlock_read_1(&self) {
37 match *self.rw1.read().unwrap() {
38 1 => { self.std_rwlock_write_2(); },
39 _ => { self.std_rwlock_read_2(); },
40 };
41 }
42
43 fn std_rwlock_write_1(&self) {
44 match *self.rw1.write().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