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

Class CondPair

toys/condvar-struct/src/main.rs:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5 use std::sync::{Condvar, Mutex};
6
7 struct CondPair {
8 lock: Mutex<bool>,
9 cvar: Condvar,
10 }
11
12 impl CondPair {
13 fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected