From 317043010879767bc6a3bef6cbec0c5f300d1ce0 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 19 Oct 2020 13:54:31 +0300 Subject: sys: update to 6.8 --- sys/sys/pipe.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/sys/pipe.h') diff --git a/sys/sys/pipe.h b/sys/sys/pipe.h index d23f266..72822aa 100644 --- a/sys/sys/pipe.h +++ b/sys/sys/pipe.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pipe.h,v 1.24 2020/01/24 11:07:41 anton Exp $ */ +/* $OpenBSD: pipe.h,v 1.27 2020/06/29 18:23:18 anton Exp $ */ /* * Copyright (c) 1996 John S. Dyson @@ -67,6 +67,8 @@ struct pipebuf { #define PIPE_LOCK 0x100 /* Thread has exclusive I/O access. */ #define PIPE_LWANT 0x200 /* Thread wants exclusive I/O access. */ +struct pipe_pair; + /* * Per-pipe data structure. * Two of these are linked together to produce bi-directional pipes. @@ -85,6 +87,7 @@ struct pipe { struct timespec pipe_ctime; /* [I] time of status change */ struct sigio_ref pipe_sigio; /* [S] async I/O registration */ struct pipe *pipe_peer; /* [p] link with other direction */ + struct pipe_pair *pipe_pair; /* [I] pipe storage */ u_int pipe_state; /* [p] pipe status info */ int pipe_busy; /* [p] # readers/writers */ }; -- cgit v1.2.3