execution: document promises list; it is assumed to be sorted
[cdsspec-compiler.git] / execution.h
index ab4df362bcd89544402fafb701d2b982bb5c7be7..9c9c1ca454431dc64a3ee8ddf17cd19d13c8a5d4 100644 (file)
@@ -202,6 +202,13 @@ private:
        HashTable<const void *, action_list_t *, uintptr_t, 4> condvar_waiters_map;
 
        HashTable<void *, SnapVector<action_list_t> *, uintptr_t, 4> obj_thrd_map;
+
+       /**
+        * @brief List of currently-pending promises
+        *
+        * Promises are sorted by the execution order of the read(s) which
+        * created them
+        */
        SnapVector<Promise *> promises;
        SnapVector<struct PendingFutureValue> futurevalues;