orb: add some comments about locking

This commit is contained in:
Beat Küng
2016-04-29 11:15:15 +02:00
committed by Lorenz Meier
parent 5cf78da7d7
commit aacfd8d553
2 changed files with 9 additions and 1 deletions
+2
View File
@@ -148,6 +148,8 @@ private:
/**
* Check whether a topic appears updated to a subscriber.
*
* Lock must already be held when calling this.
*
* @param sd The subscriber for whom to check.
* @return True if the topic should appear updated to the subscriber
*/