Changeset 759 for trunk/libffado/src/libieee1394/IsoHandlerManager.h
- Timestamp:
- 12/15/07 11:36:27 (14 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/libieee1394/IsoHandlerManager.h
r753 r759 27 27 #include "debugmodule/debugmodule.h" 28 28 29 #include "libutil/Thread.h" 30 29 31 #include <sys/poll.h> 30 32 #include <errno.h> 31 33 32 34 #include <vector> 35 36 #define THREAD_PER_ISOHANDLER 33 37 34 38 #define FFADO_MAX_ISO_HANDLERS_PER_PORT 16 … … 61 65 62 66 */ 63 class IsoHandlerManager 67 class IsoHandlerManager : public Util::RunnableInterface 64 68 { 65 69 friend class Streaming::StreamProcessorManager; 70 public: 71 bool Init(); 72 bool Execute(); 73 void updateShadowVars(); 74 private: 75 // shadow variables 76 struct pollfd m_poll_fds_shadow[FFADO_MAX_ISO_HANDLERS_PER_PORT]; 77 IsoHandler *m_IsoHandler_map_shadow[FFADO_MAX_ISO_HANDLERS_PER_PORT]; 78 unsigned int m_poll_nfds_shadow; 66 79 67 80 public: … … 143 156 bool m_realtime; 144 157 int m_priority; 158 Util::Thread * m_Thread; 145 159 146 160 // debug stuff