Pumpkin, Inc.

Pumpkin User Forums

Is it possible to start OS_Delay() task

If you can't make Salvo do what you want it to do, post it here.

Is it possible to start OS_Delay() task

Postby luben » Thu Jan 11, 2001 8:33 am

Hello,

Just wondering is it possible to start a task that in delayed. I mean, if I change my mind and want to run it again, before the delay expired. Is there some tecnique to "speed" the delay and to return faster the control to the delayed task. I know that this is not "clear" and not Salvo's style, but sometimes it's needed (like GOTO instruction in C)

Regards
Luben

luben
 
Posts: 324
Joined: Sun Nov 19, 2000 12:00 am
Location: Sofia, Bulgaria

Re: Is it possible to start OS_Delay() task

Postby aek » Thu Jan 11, 2001 9:58 am

Not in v2.1.

In v2.2, you can stop the task first with OSStopTask() and then (re-)start it with OSStartTask(). We're testing that right now ... seems to work nicely.

[This message has been edited by aek (edited January 12, 2001).]

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm


Return to Coding

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron