From 03277f5f1a9bea432bc946551e9eaeca4844d6d3 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Fri, 22 Jul 2016 14:12:39 +0200 Subject: [PATCH] [doc] TODO -1 timeout should not be forever --- doc/doxygen/community_giveback.doc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/doxygen/community_giveback.doc b/doc/doxygen/community_giveback.doc index 8eee215fbd..cc428d0004 100644 --- a/doc/doxygen/community_giveback.doc +++ b/doc/doxygen/community_giveback.doc @@ -147,6 +147,11 @@ Some support for C++11-style time/duration is implemented (see `chrono.hpp`) but only available in some (S4U) APIs. It would be nice to add support for them in the rest of the C++ code. +A related change would be to avoid using "-1" to mean "forever" at least in S4U +and in the internal code. For compatibility, MSG should probably keep this +semantic. We should probably always use separate functions +(`wait` vs `wait_for`). + @subsubsection contributing_todo_futures Futures - Some features are missing in the Maestro future implementation -- 2.20.1