April 2012
Intermediate to advanced
352 pages
8h
English
The FreeBSD kernel provides the following 11 functions for working with condition variables:
#include <sys/param.h> #include <sys/proc.h> #include <sys/condvar.h> void cv_init(struct cv*cvp, const char
*d); const char * cv_wmesg(struct cv
*cvp); void cv_wait(struct cv
*cvp, lock); void cv_wait_unlock(struct cv