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

Function cbm_thread_join

src/foundation/compat_thread.c:146–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by 3

frontend_eof_child_runFunction · 0.68
th_server_stopFunction · 0.68