A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[simix] Update TODO for simgrid::simix::Future
[simgrid.git]
/
include
/
simgrid
/
simix
/
blocking_simcall.hpp
diff --git
a/include/simgrid/simix/blocking_simcall.hpp
b/include/simgrid/simix/blocking_simcall.hpp
index
c89b273
..
2e26f0a
100644
(file)
--- a/
include/simgrid/simix/blocking_simcall.hpp
+++ b/
include/simgrid/simix/blocking_simcall.hpp
@@
-71,6
+71,11
@@
auto kernelSync(F code) -> decltype(code().get())
}
/** A blocking (`wait()`-based) future for SIMIX processes */
}
/** 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:
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_;
private:
// We wrap an event-based kernel future:
simgrid::kernel::Future<T> future_;