MCPcopy Index your code
hub / github.com/F-Stack/f-stack / synch_setup

Function synch_setup

lib/ff_kern_synch.c:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77LIST_HEAD(se_head, sleep_entry);
78
79static void
80synch_setup(void *arg)
81{
82 mtx_init(&synch_lock, "synch_lock", NULL, MTX_DEF);
83 se_active = hashinit(64, M_TEMP, &se_hashmask);
84}
85
86int
87_sleep(const void * _Nonnull chan, struct lock_object *lock, int priority,

Callers

nothing calls this directly

Calls 2

mtx_initFunction · 0.85
hashinitFunction · 0.70

Tested by

no test coverage detected