diff options
author | dzwdz | 2022-07-06 19:46:35 +0200 |
---|---|---|
committer | dzwdz | 2022-07-06 19:46:35 +0200 |
commit | caec20e9886fd6d0437b59a9de48a7b686a2cc09 (patch) | |
tree | 2b2e06d90876168a81fdcda15029cd1a2eaffd0a /src/kernel/handle.h | |
parent | a89984d7200381d7b8035c48124d93105d59cf24 (diff) |
kernel/pipes: read & write support
Diffstat (limited to 'src/kernel/handle.h')
-rw-r--r-- | src/kernel/handle.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/handle.h b/src/kernel/handle.h index d644521..423ea88 100644 --- a/src/kernel/handle.h +++ b/src/kernel/handle.h @@ -18,8 +18,7 @@ struct handle { struct vfs_backend *backend; // HANDLE_FILE | HANDLE_FS_FRONT int file_id; // only applicable to HANDLE_FILE struct { - struct process *stuck; - bool wants_write; // refers to the waiting process + struct process *reader, *writer; } pipe; size_t refcount; |