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

Method notify

toys/condvar-struct/src/main.rs:27–33  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

25 println!("end waiting");
26 }
27 fn notify(&self) {
28 let mut started = self.lock.lock().unwrap();
29 println!("start notifying!");
30 *started = true;
31 self.cvar.notify_one();
32 println!("end notifying!");
33 }
34 }
35
36 let condvar1 = Arc::new(CondPair::new());

Callers 6

std_correctFunction · 0.80
std_deadlock_waitFunction · 0.80
parking_lot_correctFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected