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

Function capture_idx_worker

tests/test_worker_pool.c:336–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334static int g_received_idx = -1;
335
336static void capture_idx_worker(int idx, void *ctx) {
337 (void)ctx;
338 g_received_idx = idx;
339}
340
341TEST(parallel_for_single_iteration_idx_zero) {
342 /* count=1 → single iteration with idx=0 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected