diff options
Diffstat (limited to 'libs/rs/rsThreadIO.cpp')
-rw-r--r-- | libs/rs/rsThreadIO.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsThreadIO.cpp b/libs/rs/rsThreadIO.cpp index fe2c52e..b1a579a 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; |