Re: Task scheduler

"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]> Wed, 9 Jun 2004 07:43:02 -0500
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <00a001c44e1f$4d988390$764000b4@kardis>
A clarification (since Bryan and I gave pretty different answers...)

My response applies to coding in C (or even in assembly).  Bryan's response
was for using the Java runtime.

Kris

----- Original Message -----
From: "Bryan Armstrong" <bryan.armstrong-6tN4nzCoH/[email protected]>
To: <[email protected]>
Cc: <tini-6tN4nzCoH/[email protected]>
Sent: Tuesday, June 08, 2004 9:10 AM
Subject: Re: [TINI]Task scheduler


[email protected] wrote:
>   - I think that the task scheduler manages tasks but, which is the
> timeslice among tasks?, can I program this time?, where?.

The timeslice among tasks is 8ms or until a task goes to sleep.  You
cannot change this value.

>   - Does this timeslice manage the useriopoll's entry?.

Every 4ms the useriopoll entries are run.

>   - The userpoll is on every 4 milliseconds. What´s the matter if it lasts
> more than this time?. Is it stopped or running until its end?.

If your poll function takes 4 milliseconds, you should consider moving
it into your application.  Your 4ms routine would push the 4ms iopoll
frequency out to 8ms.



--
--
Bryan Armstrong
bryan.armstrong-6tN4nzCoH/[email protected]

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini



_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini