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

Function bootstrap_production_lock

src/daemon/bootstrap.c:1091–1098  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1089}
1090
1091static int bootstrap_production_lock(void *context, const cbm_daemon_ipc_endpoint_t *endpoint,
1092 cbm_daemon_bootstrap_lock_t *lock_out) {
1093 (void)context;
1094 cbm_daemon_ipc_startup_lock_t *lock = NULL;
1095 int status = cbm_daemon_ipc_startup_lock_try_acquire(endpoint, &lock);
1096 *lock_out = lock;
1097 return status;
1098}
1099
1100static bool bootstrap_production_unlock(void *context, cbm_daemon_bootstrap_lock_t *lock_io) {
1101 (void)context;

Callers

nothing calls this directly

Tested by

no test coverage detected