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

Function cbm_progress_sink_fini

src/cli/progress_sink.c:191–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191void cbm_progress_sink_fini(void) {
192 progress_sink_mutex_ensure();
193 cbm_mutex_lock(&s_sink_mutex);
194 cbm_log_set_sink(NULL);
195 if (atomic_load(&s_needs_newline) && s_out) {
196 (void)fprintf(s_out, "\n");
197 (void)fflush(s_out);
198 }
199 s_out = NULL;
200 cbm_mutex_unlock(&s_sink_mutex);
201}
202
203/* Phase label table: maps pass names to display labels. */
204typedef struct {

Callers 3

run_cliFunction · 0.85
test_cli.cFile · 0.85

Calls 4

cbm_mutex_lockFunction · 0.85
cbm_log_set_sinkFunction · 0.85
cbm_mutex_unlockFunction · 0.85

Tested by

no test coverage detected