summaryrefslogtreecommitdiff
path: root/p2pvr/lib/muxer.h
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/lib/muxer.h')
-rw-r--r--p2pvr/lib/muxer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/p2pvr/lib/muxer.h b/p2pvr/lib/muxer.h
index 118b1da..e4789cf 100644
--- a/p2pvr/lib/muxer.h
+++ b/p2pvr/lib/muxer.h
@@ -12,11 +12,14 @@ class Muxer : public P2PVR::RawDataClient {
bool NewData(const P2PVR::Data &, const Ice::Current &);
private:
+ bool ReadWaiting() const;
+ bool ReadAvailable() const;
bool ReadMuxerAndSend(int wait) const;
const P2PVR::RawDataClientPrx target;
- int fds[2];
+ int fds[3];
pid_t muxerPid;
- std::mutex lock;
+ mutable std::mutex wlock;
+ mutable std::mutex rlock;
};
#endif