]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_core.h
git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@1637 35b4ef...
[frescor/frsh-include.git] / frsh_core.h
index 9f323d51369b9a3f81c4b152f18028181a5bbdcd..0ad8b2af3f0b13f95af2551b58c9a77acb9bfa8b 100644 (file)
@@ -672,15 +672,17 @@ int frsh_timed_wait
  * frsh_vresperiod_wait()
  *
  * Suspend the calling thread until the start of the specified virtual
- * resource period, for a synchronized workload.
+ * resource period of a vres_id, for a synchronized workload.
  *
  * Virtual resource periods are numbered. The number of the current
  * period can be obtained through the frsh_vres_get_period_number()
  * operation.
  **/
-int frsh_vresperiod_wait
-   (const frsh_vres_id_t vres,
-    long period_num);
+int frsh_vresperiod_wait(unsigned long period_num,
+                         frsh_rel_time_t       *next_budget,
+                         frsh_rel_time_t       *next_period,
+                         bool                  *was_deadline_missed,
+                         bool                  *was_budget_overran);
 
 
 /**