From 61e76a7ffa2f3cbd44f008d3380a1211b7642878 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Fri, 27 Jan 2012 13:27:01 -0800 Subject: [PATCH] Add comment to confusing commands. Change-Id: I7b84b9d8e9b3b595e0bab33d5e219842f6c86f83 --- libs/rs/rsThreadIO.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/rs/rsThreadIO.h b/libs/rs/rsThreadIO.h index ebce0abf1beac..7e730df312712 100644 --- a/libs/rs/rsThreadIO.h +++ b/libs/rs/rsThreadIO.h @@ -37,6 +37,12 @@ public: // Plays back commands from the client. // Returns true if any commands were processed. + // + // waitForCommand: true, block until a command arrives or + // the specified time expires. + // + // timeToWait: Max time to block in microseconds. A value of zero indicates + // an indefinite wait. bool playCoreCommands(Context *con, bool waitForCommand, uint64_t timeToWait); void setTimoutCallback(void (*)(void *), void *, uint64_t timeout);