Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/include/os/freebsd/spl/sys/condvar.h
Show All 30 Lines | |||||
#define _OPENSOLARIS_SYS_CONDVAR_H_ | #define _OPENSOLARIS_SYS_CONDVAR_H_ | ||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
#include <sys/spl_condvar.h> | #include <sys/spl_condvar.h> | ||||
#include <sys/mutex.h> | #include <sys/mutex.h> | ||||
#include <sys/time.h> | #include <sys/time.h> | ||||
#include <sys/errno.h> | |||||
/* | /* | ||||
* cv_timedwait() is similar to cv_wait() except that it additionally expects | * cv_timedwait() is similar to cv_wait() except that it additionally expects | ||||
* a timeout value specified in ticks. When woken by cv_signal() or | * a timeout value specified in ticks. When woken by cv_signal() or | ||||
* cv_broadcast() it returns 1, otherwise when the timeout is reached -1 is | * cv_broadcast() it returns 1, otherwise when the timeout is reached -1 is | ||||
* returned. | * returned. | ||||
* | * | ||||
* cv_timedwait_sig() behaves the same as cv_timedwait() but blocks | * cv_timedwait_sig() behaves the same as cv_timedwait() but blocks | ||||
▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines |