Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[simix] Update TODO for simgrid::simix::Future
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 20 Jun 2016 13:28:50 +0000 (15:28 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Mon, 20 Jun 2016 13:48:18 +0000 (15:48 +0200)
include/simgrid/simix/blocking_simcall.hpp

index c89b273..2e26f0a 100644 (file)
@@ -71,6 +71,11 @@ auto kernelSync(F code) -> decltype(code().get())
 }
 
 /** A blocking (`wait()`-based) future for SIMIX processes */
+// TODO, .wait_for()
+// TODO, .wait_until()
+// TODO, SharedFuture
+// TODO, simgrid::simix::when_all - wait for all future to be ready (this one is simple!)
+// TODO, simgrid::simix::when_any - wait for any future to be ready
 template <class T>
 class Future {
 public:
@@ -127,8 +132,6 @@ public:
       }
     });
   }
-  // TODO, wait_for()
-  // TODO, wait_until()
 private:
   // We wrap an event-based kernel future:
   simgrid::kernel::Future<T> future_;