Condition Variable Management Routines
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
Get FreeBSD Device Drivers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.