summaryrefslogtreecommitdiff
path: root/src/mongo/util/waitable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/waitable.h')
-rw-r--r--src/mongo/util/waitable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/util/waitable.h b/src/mongo/util/waitable.h
index 482c7979dbf..b831d422b23 100644
--- a/src/mongo/util/waitable.h
+++ b/src/mongo/util/waitable.h
@@ -46,6 +46,9 @@ namespace mongo {
*
* The current implementer of Waitable is the transport layer baton type, which performs delayed IO
* when it would otherwise block.
+ *
+ * Note that every Waitable should be level-triggered like its base class, Notifyable. See
+ * mongo/stdx/condition_variable.h for more details.
*/
class Waitable : public Notifyable {
public: