commit | 2382aba4a55c6ae74789c478eead8fbd96593321 | [log] [tgz] |
---|---|---|
author | Jason Sams <[email protected]> | Tue Sep 13 15:41:01 2011 -0700 |
committer | Jason Sams <[email protected]> | Tue Sep 13 15:41:01 2011 -0700 |
tree | 0caf2705b4afd76b3a1c372e7de64a86c73f1ca6 | |
parent | 3f2c944c21af553eb06421aec1fbebf0f4c45e3c [diff] [blame] |
Add RS watchdog. Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6
diff --git a/rsThreadIO.cpp b/rsThreadIO.cpp index fe2c52e..b1a579a 100644 --- a/rsThreadIO.cpp +++ b/rsThreadIO.cpp
@@ -112,6 +112,10 @@ memcpy(data, &mToCoreRet, dataLen); } +void ThreadIO::setTimoutCallback(void (*cb)(void *), void *dat, uint64_t timeout) { + mToCore.setTimoutCallback(cb, dat, timeout); +} + bool ThreadIO::playCoreCommands(Context *con, bool waitForCommand, uint64_t timeToWait) { bool ret = false;