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

Function cbm_nanosleep

src/foundation/compat.h:89–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87/* Implemented in compat.c */
88int cbm_clock_gettime(int clk_id, struct timespec *tp);
89static inline int cbm_nanosleep(const struct timespec *req, struct timespec *rem) {
90 (void)rem;
91 Sleep((DWORD)(req->tv_sec * 1000 + req->tv_nsec / 1000000));
92 return 0;
93}
94#else
95#define cbm_clock_gettime clock_gettime
96#define cbm_nanosleep nanosleep

Callers 15

cbm_spawn_backoffFunction · 0.85
cbm_subprocess_runFunction · 0.85
diag_sleep_msFunction · 0.85
bootstrap_pauseFunction · 0.85
runtime_wait_tickFunction · 0.85
extract_workerFunction · 0.85
cbm_pipeline_lockFunction · 0.85
diagnostics_wait_msFunction · 0.85
bootstrap_thread_executeFunction · 0.85

Calls

no outgoing calls