Commit dc39e518 authored by jdelange's avatar jdelange

* src/po_hi_task.c

    - Introduce the __po_hi_task_wait_offset function
    - Stub of the new __po_hi_task_wait_offset function

git-svn-id: 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent eae1fd47
......@@ -187,5 +187,10 @@ int __po_hi_wait_for_next_period (__po_hi_task_id task);
void __po_hi_tasks_killall (void);
* Wait a given amount of time.
void __po_hi_task_wait_offset (const __po_hi_time_t* time);
#endif /* __PO_HI_TASK_H__ */
......@@ -490,6 +490,11 @@ int __po_hi_create_periodic_task (const __po_hi_task_id id,
return (__PO_HI_SUCCESS);
void __po_hi_task_wait_offset (const __po_hi_time_t* time)
int __po_hi_create_sporadic_task (const __po_hi_task_id id,
const __po_hi_time_t* period,
const __po_hi_priority_t priority,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment