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

Function bootstrap_thread_execute

tests/test_daemon_bootstrap.c:277–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277static void *bootstrap_thread_execute(void *opaque) {
278 bootstrap_thread_call_t *call = opaque;
279 atomic_fetch_add(call->ready, 1);
280 while (!atomic_load(call->go)) {
281 const struct timespec pause = {0, 1000000L};
282 (void)cbm_nanosleep(&pause, NULL);
283 }
284 call->status = cbm_daemon_bootstrap_execute_with_ops(call->config, call->ops, &call->result);
285 return NULL;
286}
287
288static cbm_daemon_process_role_t classify(int argc, char **argv) {
289 return cbm_daemon_process_role(argc, argv);

Callers

nothing calls this directly

Calls 2

cbm_nanosleepFunction · 0.85

Tested by

no test coverage detected