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

Function main

toys/inter/src/main.rs:129–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127}
128
129fn main() {
130 let foo1 = Foo::new();
131 foo1.std_mutex_1();
132 foo1.std_mutex_2();
133 foo1.std_rwlock_read_1();
134 foo1.std_rwlock_write_1();
135 foo1.parking_lot_mutex_1();
136 foo1.parking_lot_mutex_2();
137 foo1.parking_lot_rwlock_read_1();
138 foo1.parking_lot_rwlock_read_2();
139 foo1.parking_lot_rwlock_write_1();
140 foo1.parking_lot_rwlock_write_2();
141 foo1.spin_mutex_1();
142 foo1.spin_mutex_2();
143 foo1.recur();
144 foo1.spin_rwlock_read_1();
145 foo1.spin_rwlock_read_2();
146 foo1.spin_rwlock_write_1();
147 foo1.spin_rwlock_write_2();
148}

Callers

nothing calls this directly

Calls 15

std_rwlock_read_1Method · 0.80
std_rwlock_write_1Method · 0.80
parking_lot_mutex_1Method · 0.80
parking_lot_mutex_2Method · 0.80
spin_mutex_1Method · 0.80
spin_mutex_2Method · 0.80
recurMethod · 0.80
spin_rwlock_read_1Method · 0.80

Tested by

no test coverage detected