MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / bootstrap_fake_unlock

Function bootstrap_fake_unlock

tests/test_daemon_bootstrap.c:221–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221static bool bootstrap_fake_unlock(void *opaque, cbm_daemon_bootstrap_lock_t *lock_io) {
222 bootstrap_fake_ops_t *fake = opaque;
223 if (lock_io && *lock_io == fake) {
224 atomic_store(&fake->lock_held, 0);
225 *lock_io = NULL;
226 return true;
227 }
228 return lock_io && !*lock_io;
229}
230
231static bool bootstrap_fake_handoff(void *opaque, cbm_daemon_bootstrap_lock_t lock) {
232 bootstrap_fake_ops_t *fake = opaque;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected