summaryrefslogtreecommitdiff
path: root/src/kernel/handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/handle.h')
-rw-r--r--src/kernel/handle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/handle.h b/src/kernel/handle.h
index 4a5cab2..be8250b 100644
--- a/src/kernel/handle.h
+++ b/src/kernel/handle.h
@@ -18,7 +18,9 @@ struct handle {
struct vfs_backend *backend; // HANDLE_FILE | HANDLE_FS_FRONT
void __user *file_id; // only applicable to HANDLE_FILE
struct {
- struct process *reader, *writer;
+ struct process *queued;
+ bool write_end;
+ struct handle *sister; // the other end, not included in refcount
} pipe;
size_t refcount;