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

Function cbm_thread_join

src/foundation/compat_thread.c:152–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152int cbm_thread_join(cbm_thread_t *t) {
153 if (WaitForSingleObject(t->handle, INFINITE) != WAIT_OBJECT_0) {
154 return CBM_NOT_FOUND;
155 }
156 CloseHandle(t->handle);
157 t->handle = NULL;
158 return 0;
159}
160
161int cbm_thread_detach(cbm_thread_t *t) {
162 if (t->handle) {

Callers 15

parallel_sort_indexesFunction · 0.85
cbm_mcp_server_freeFunction · 0.85
cbm_test_impact_runFunction · 0.85
cbm_test_impact_publishFunction · 0.85
handle_index_startFunction · 0.85
cbm_http_server_freeFunction · 0.85

Calls

no outgoing calls

Tested by 11

cbm_test_impact_runFunction · 0.68
cbm_test_impact_publishFunction · 0.68
frontend_eof_child_runFunction · 0.68
th_server_stopFunction · 0.68
racing_sweep_hookFunction · 0.68
tp_extract_small_stackFunction · 0.68
ov_independent_callsFunction · 0.68
app_async_call_joinFunction · 0.68