Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/sys_pipe.c
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | |||||
* locking mechanism. Also note that there is only a single mutex for | * locking mechanism. Also note that there is only a single mutex for | ||||
* both directions of a pipe. | * both directions of a pipe. | ||||
* | * | ||||
* As pipelock() may have to sleep before it can acquire the flag, it | * As pipelock() may have to sleep before it can acquire the flag, it | ||||
* is important to reread all data after a call to pipelock(); everything | * is important to reread all data after a call to pipelock(); everything | ||||
* in the structure may have changed. | * in the structure may have changed. | ||||
*/ | */ | ||||
#include "opt_compat.h" | |||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
#include <sys/conf.h> | #include <sys/conf.h> | ||||
#include <sys/fcntl.h> | #include <sys/fcntl.h> | ||||
#include <sys/file.h> | #include <sys/file.h> | ||||
▲ Show 20 Lines • Show All 1,740 Lines • Show Last 20 Lines |