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

Function bootstrap_fake_handoff

tests/test_daemon_bootstrap.c:231–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231static bool bootstrap_fake_handoff(void *opaque, cbm_daemon_bootstrap_lock_t lock) {
232 bootstrap_fake_ops_t *fake = opaque;
233 if (lock != fake || atomic_load(&fake->lock_held) != 1) {
234 return false;
235 }
236 atomic_fetch_add(&fake->handoff_count, 1);
237 return true;
238}
239
240static bool bootstrap_fake_spawn(void *opaque, const cbm_daemon_bootstrap_launch_spec_t *spec) {
241 bootstrap_fake_ops_t *fake = opaque;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected