From 5316b9eead0c29df36f46d29c17914bc3c61ed9f Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Tue, 13 Sep 2011 15:41:01 -0700 Subject: Add RS watchdog. Change-Id: I4c912beb84fa8a37ada0088049f7776132e994b6 --- libs/rs/rsThreadIO.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/rs/rsThreadIO.cpp') diff --git a/libs/rs/rsThreadIO.cpp b/libs/rs/rsThreadIO.cpp index fe2c52ea4662..b1a579a1bea3 100644 --- a/libs/rs/rsThreadIO.cpp +++ b/libs/rs/rsThreadIO.cpp @@ -112,6 +112,10 @@ void ThreadIO::coreGetReturn(void *data, size_t dataLen) { 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; -- cgit v1.2.3-59-g8ed1b