Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Display what's going on as the unit is running, not afterward (some of them are a...
[simgrid.git] / include / gras / timer.h
index 5ac8ce8..00afd4d 100644 (file)
 
 #include "xbt/misc.h"
 
-BEGIN_DECL()
+SG_BEGIN_DECL()
 
 /** @addtogroup GRAS_timer
  *  @brief Delayed and repetitive tasks (Communication facility)
  *
+ * <center><table><tr><td><b>Top</b>    <td> [\ref index]::[\ref GRAS_API]
+ *                <tr><td><b>Prev</b>   <td> [\ref GRAS_msg]
+ *                <tr><td><b>Next</b>   <td> [\ref GRAS_virtu]            </table></center>
+ *
  *  This is how to have a specific function called only once after the
  *  specified amount of time or a function executed every 5 mn until it gets 
  *  removed. In the UNIX world, this is comparable to <tt>at</tt> and 
@@ -42,16 +46,16 @@ BEGIN_DECL()
   void gras_timer_delay(double delay, void_f_void_t action);
   void gras_timer_repeat(double interval, void_f_void_t action);
 
-  xbt_error_t gras_timer_cancel_delay(double interval, void_f_void_t action);
-  xbt_error_t gras_timer_cancel_repeat(double interval, void_f_void_t action);
+  void gras_timer_cancel_delay(double interval, void_f_void_t action);
+  void gras_timer_cancel_repeat(double interval, void_f_void_t action);
 
-  xbt_error_t gras_timer_cancel_delay_all(void);
-  xbt_error_t gras_timer_cancel_repeat_all(void);
+  void gras_timer_cancel_delay_all(void);
+  void gras_timer_cancel_repeat_all(void);
 
   void gras_timer_cancel_all(void);
 
 /** @} */
 
-END_DECL()
+SG_END_DECL()
 
 #endif /* GRAS_TIMER_H */