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

Function cbm_thread_join

src/foundation/compat_thread.c:147–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147int cbm_thread_join(cbm_thread_t *t) {
148 if (WaitForSingleObject(t->handle, INFINITE) != WAIT_OBJECT_0) {
149 return CBM_NOT_FOUND;
150 }
151 CloseHandle(t->handle);
152 t->handle = NULL;
153 return 0;
154}
155
156int cbm_thread_detach(cbm_thread_t *t) {
157 if (t->handle) {

Calls

no outgoing calls

Tested by 3

frontend_eof_child_runFunction · 0.68
th_server_stopFunction · 0.68