Changeset 939
- Timestamp:
- 03/12/08 06:26:23 (13 years ago)
- Files:
-
- trunk/libffado/config.h.in (modified) (1 diff)
- trunk/libffado/src/debugmodule/debugmodule.h (modified) (1 diff)
- trunk/libffado/src/libutil/PosixThread.cpp (modified) (2 diffs)
- trunk/libffado/src/libutil/Watchdog.cpp (added)
- trunk/libffado/src/libutil/Watchdog.h (added)
- trunk/libffado/src/SConscript (modified) (1 diff)
- trunk/libffado/tests/SConscript (modified) (1 diff)
- trunk/libffado/tests/test-watchdog.cpp (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/config.h.in
r938 r939 39 39 #define DEBUG_EXTREME_ENABLE 0 40 40 41 // watchdog 42 #define WATCHDOG_DEFAULT_CHECK_INTERVAL_USECS (1000*1000*4) 43 #define WATCHDOG_DEFAULT_RUN_REALTIME 1 44 #define WATCHDOG_DEFAULT_PRIORITY 98 45 46 // 1394 service constants 41 47 #define IEEE1394SERVICE_USE_CYCLETIMER_DLL 1 42 48 #define IEEE1394SERVICE_CYCLETIMER_DLL_UPDATE_INTERVAL_USEC 200000 trunk/libffado/src/debugmodule/debugmodule.h
r866 r939 118 118 119 119 #define DECLARE_DEBUG_MODULE static DebugModule m_debugModule 120 #define DECLARE_DEBUG_MODULE_REFERENCE DebugModule &m_debugModule 120 121 #define IMPL_DEBUG_MODULE( ClassName, RegisterName, Level ) \ 121 122 DebugModule ClassName::m_debugModule = \ trunk/libffado/src/libutil/PosixThread.cpp
r888 r939 181 181 struct sched_param rtparam; 182 182 int res; 183 debugOutput( DEBUG_LEVEL_VERBOSE, "(%p) Aquire realtime, prio %d\n", this, fPriority); 183 184 184 185 if (!fThread) … … 209 210 struct sched_param rtparam; 210 211 int res; 212 debugOutput( DEBUG_LEVEL_VERBOSE, "(%p) Drop realtime\n", this); 211 213 212 214 if (!fThread) trunk/libffado/src/SConscript
r864 r939 81 81 libutil/TimeSource.cpp \ 82 82 libutil/TimestampedBuffer.cpp \ 83 libutil/Watchdog.cpp \ 83 84 libcontrol/Element.cpp \ 84 85 libcontrol/BasicElements.cpp \ trunk/libffado/tests/SConscript
r922 r939 52 52 "test-streamdump" : "test-streamdump.cpp", 53 53 "test-bufferops" : "test-bufferops.cpp", 54 "test-watchdog" : "test-watchdog.cpp", 54 55 "dumpiso_mod" : "dumpiso_mod.cpp" 55 56 }