Index: base/synchronization/waitable_event.h |
diff --git a/base/synchronization/waitable_event.h b/base/synchronization/waitable_event.h |
index 761965f03a0f07b37b1115f975de822686266695..e8caffeec32d5b7418a87ed563f9a86eaf0c92ce 100644 |
--- a/base/synchronization/waitable_event.h |
+++ b/base/synchronization/waitable_event.h |
@@ -112,6 +112,9 @@ class BASE_EXPORT WaitableEvent { |
// You MUST NOT delete any of the WaitableEvent objects while this wait is |
// happening, however WaitMany's return "happens after" the |Signal| call |
// that caused it has completed, like |Wait|. |
+ // |
+ // If more than one WaitableEvent is signaled to unblock WaitMany, the lowest |
+ // index among them is returned. |
static size_t WaitMany(WaitableEvent** waitables, size_t count); |
// For asynchronous waiting, see WaitableEventWatcher |