rpcsx/orbis-kernel/include/orbis/pipe.hpp
DH e90566e7de [rpcsx-os/orbis-kernel] random fixes
fix pipe
fix socketpair
fix bridge
fix evf_wait with timeout
fix umtx_op(0x17)
implement ipmi evf
stub sched_get_priority_max/min
stub sys_rtprio_thread
implement sys_yield
emit event on signal
stub ajm register/unregister ioctls
stub av_control ioctl
hack removal
2024-01-04 03:53:58 +03:00

18 lines
350 B
C++

#pragma once
#include "KernelAllocator.hpp"
#include "file.hpp"
#include "utils/Rc.hpp"
#include "utils/SharedCV.hpp"
#include "utils/SharedMutex.hpp"
#include <utility>
namespace orbis {
struct Pipe final : File {
shared_cv cv;
kvector<std::byte> data;
Ref<Pipe> other;
};
std::pair<Ref<Pipe>, Ref<Pipe>> createPipe();
} // namespace orbis