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

Method std_rwlock_write_2

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

Source from the content-addressed store, hash-verified

52 }
53
54 fn std_rwlock_write_2(&self) {
55 *self.rw1.write().unwrap() += 1;
56 }
57
58 fn parking_lot_mutex_1(&self) {
59 match *self.mu2.lock() {

Callers 2

std_rwlock_read_1Method · 0.80
std_rwlock_write_1Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected