MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cv_init

Function cv_init

freebsd/kern/kern_condvar.c:76–82  ·  view source on GitHub ↗

* Initialize a condition variable. Must be called before use. */

Source from the content-addressed store, hash-verified

74 * Initialize a condition variable. Must be called before use.
75 */
76void
77cv_init(struct cv *cvp, const char *desc)
78{
79
80 cvp->cv_description = desc;
81 cvp->cv_waiters = 0;
82}
83
84/*
85 * Destroy a condition variable. The condition variable must be re-initialized

Callers 15

pts_allocFunction · 0.70
pts_alloc_externalFunction · 0.70
vn_sendfileFunction · 0.70
log_drvinitFunction · 0.70
tty_alloc_mutexFunction · 0.70
seltdinitFunction · 0.70
ksem_allocFunction · 0.70
proc_initFunction · 0.70
devinitFunction · 0.70
sema_initFunction · 0.70
vntblinitFunction · 0.70
audit_pipe_allocFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected