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

Function sync_timer_free

lib_fiber/c/src/sync/sync_timer.c:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static void sync_timer_free(SYNC_TIMER *timer)
47{
48 pthread_mutex_destroy(&timer->lock);
49 mbox_free(timer->box, NULL);
50// timer_cache_free(timer->waiters);
51 mem_free(timer);
52}
53
54static pthread_once_t __once_control = PTHREAD_ONCE_INIT;
55static pthread_key_t __timer_key;

Callers 1

thread_freeFunction · 0.85

Calls 3

pthread_mutex_destroyFunction · 0.85
mbox_freeFunction · 0.50
mem_freeFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…