![]() |
MOS Source Code
|
#include <pipe.hpp>
Public Attributes | |
| u32 | magic |
| waitlist_t | waitlist |
| for both reader and writer, only one party can wait on the pipe at a time | |
| spinlock_t | lock |
| protects the buffer_pos (and thus the buffer) | |
| bool | other_closed |
| true if the other end of the pipe has been closed | |
| void * | buffers |
| ring_buffer_pos_t | buffer_pos |
Additional Inherited Members | |
| Static Public Attributes inherited from NamedType<"Pipe"> | |
| static constexpr mos::string_view | type_name |
| u32 magic |
Definition at line 13 of file pipe.hpp.
Referenced by pipe_read(), and pipe_write().
| waitlist_t waitlist |
for both reader and writer, only one party can wait on the pipe at a time
Definition at line 14 of file pipe.hpp.
Referenced by pipe_read(), and pipe_write().
| spinlock_t lock |
protects the buffer_pos (and thus the buffer)
Definition at line 15 of file pipe.hpp.
Referenced by pipe_read(), and pipe_write().
| bool other_closed |
true if the other end of the pipe has been closed
Definition at line 16 of file pipe.hpp.
Referenced by PipeIOImpl::on_closed(), pipe_read(), and pipe_write().
| void* buffers |
Definition at line 17 of file pipe.hpp.
Referenced by pipe_read(), and pipe_write().
| ring_buffer_pos_t buffer_pos |
Definition at line 18 of file pipe.hpp.
Referenced by pipe_read(), and pipe_write().