MCPcopy Create free account
hub / github.com/acl-dev/acl / thread_free_buf

Function thread_free_buf

lib_acl/src/stdlib/acl_msg.c:654–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

652static acl_pthread_key_t __errbuf_key;
653
654static void thread_free_buf(void *buf)
655{
656 if ((unsigned long) acl_pthread_self() != acl_main_thread_self()) {
657 acl_myfree(buf);
658 }
659}
660
661#if !defined(HAVE_NO_ATEXIT)
662static char *__main_buf = NULL;

Callers

nothing calls this directly

Calls 2

acl_pthread_selfFunction · 0.85
acl_main_thread_selfFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…