Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/_mutex.h
Show All 27 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _SYS__MUTEX_H_ | #ifndef _SYS__MUTEX_H_ | ||||
#define _SYS__MUTEX_H_ | #define _SYS__MUTEX_H_ | ||||
#include <sys/types.h> | |||||
#include <sys/_lock.h> | |||||
#include <machine/param.h> | #include <machine/param.h> | ||||
/* | /* | ||||
* Sleep/spin mutex. | * Sleep/spin mutex. | ||||
* | * | ||||
* All mutex implementations must always have a member called mtx_lock. | * All mutex implementations must always have a member called mtx_lock. | ||||
* Other locking primitive structures are not allowed to use this name | * Other locking primitive structures are not allowed to use this name | ||||
* for their members. | * for their members. | ||||
Show All 23 Lines |