task scheduling...
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Wed Sep 15 11:03:20 UTC 2004
Ian Caddy wrote:
> Hi Francesco,
>
> I might be wrong, but doesn't rtems_task_wake_after(0) do this for you?
> It should just yield and put the task back in the ready list.
Yes.
Also sched_yield(), nanosleep() with 0, sleep(0), and usleep(0).
--joel
>
>
> Ian Caddy
>
>
> Francesco Poletti wrote:
>
>> Hi all,
>> one question about task scheduling...
>> I'm pointing out that is not available a primitive that enable us to
>> osyield
>> (i.e. ask the os to schedule another task) and place that task in the
>> back of
>> the list of active task. Am I wrong?
>> Is there some real time or scheduling constraint which doesn't allow
>> to do that?
>> Because it results to me that also p-thread doesn't allow to do
>> something
>> similar....
>>
>> Thanks in advance Francesco.
>>
>>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list