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

Function cbm_thread_join

src/foundation/compat_thread.c:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54int cbm_thread_join(cbm_thread_t *t) {
55 if (WaitForSingleObject(t->handle, INFINITE) != WAIT_OBJECT_0) {
56 return CBM_NOT_FOUND;
57 }
58 CloseHandle(t->handle);
59 t->handle = NULL;
60 return 0;
61}
62
63int cbm_thread_detach(cbm_thread_t *t) {
64 if (t->handle) {

Callers 9

parallel_sort_indexesFunction · 0.85
mainFunction · 0.85
cbm_mcp_server_freeFunction · 0.85
cbm_diag_stopFunction · 0.85
run_pthreadsFunction · 0.85
run_githistoryFunction · 0.85
test_mem.cFile · 0.85
th_server_stopFunction · 0.85
test_pipeline.cFile · 0.85

Calls

no outgoing calls

Tested by 1

th_server_stopFunction · 0.68