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

Function dm_extract_thread

tests/test_doc_mentions.c:5993–5999  ·  view source on GitHub ↗

cbm_thread_create body: extract job->src as C#, then free this thread's * parser and caches as a worker thread does when it ends (LeakSanitizer * reports them otherwise). */

Source from the content-addressed store, hash-verified

5991 * parser and caches as a worker thread does when it ends (LeakSanitizer
5992 * reports them otherwise). */
5993static void *dm_extract_thread(void *arg) {
5994 dm_extract_job_t *job = (dm_extract_job_t *)arg;
5995 job->result = dm_extract(job->src, CBM_LANG_CSHARP, job->rel_path);
5996 cbm_destroy_thread_parser();
5997 cbm_kind_in_set_free_cache();
5998 return NULL;
5999}
6000
6001/* Interpolated strings nest: a hole of code can hold the next string. The
6002 * brace scan follows them to a fixed depth; a file that goes deeper is not

Callers

nothing calls this directly

Calls 3

dm_extractFunction · 0.85

Tested by

no test coverage detected