[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
task scheduling...
- Date: Wed, 15 Sep 2004 06:03:20 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill <joel at OARcorp dot com>)
- Subject: task scheduling...
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