Let tasks reschedule themselves #3

Open
opened 2015-03-14 13:04:29 +00:00 by GoogleCodeExporter · 0 comments
GoogleCodeExporter commented 2015-03-14 13:04:29 +00:00 (Migrated from github.com)
A task should be able to reschedule itself by returning the number of 
microseconds to be called again.
Question is if we would like to respect the number of times to be called.
Proposal:
returnvalue = neg : stop calling the task
returnvalue = 0 : call again conforming to task creation setting
returnvalue = pos : call again in returnvalue microseconds, forget 
original number of times. The task will be responsible for deletion

Original issue reported on code.google.com by john.zan...@gmail.com on 23 Nov 2009 at 8:33

``` A task should be able to reschedule itself by returning the number of microseconds to be called again. Question is if we would like to respect the number of times to be called. Proposal: returnvalue = neg : stop calling the task returnvalue = 0 : call again conforming to task creation setting returnvalue = pos : call again in returnvalue microseconds, forget original number of times. The task will be responsible for deletion ``` Original issue reported on code.google.com by `john.zan...@gmail.com` on 23 Nov 2009 at 8:33
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
John/ArduinoMultitimer#3
No description provided.