[uClinux-dev] Strict real timeness
Preetam Joshi
j.preetam at gmail.com
Thu Jan 4 05:53:28 EST 2007
Hi andrew,
I definitely need to implement applications which can follow real timeness.
I have browsed throught the scheduler code and found that it implements
tasks in a FIFO manner. So once the low priority thread runs the high
priority thread does not preempt it until the timeslice of the low priority
thread is over or any blocking call is explicitly called for. This certainly
should not be the behavior.
So do i need to download any patch like RTAI one?
Thanks,
Preetam
On 1/3/07, Andrew Kohlsmith <akohlsmith-uclinux at benshaw.com> wrote:
>
> On Wednesday 03 January 2007 8:29 am, Preetam Joshi wrote:
> > Can anybody suggest how do i add strict realtimeness to my module. I am
> in
> > process to prove the realtimeness of uClinux kernel and have implemented
> > four kernel threads . I am able to context switch between them but even
> if
> > i assign priorities in the driver code using set_user_nice the switching
> > does not take place as per priorities. observation is that it follows
> fifo
> > manner.
>
> It is my understanding that linux does not, and will not have a hard
> real-time
> capability. There are hard real-time implementations which run the linux
> kernel as a sub-process, allowing you to write non-linux drivers or code
> which interfaces with the hard real-time system.
>
> Before trying to go down this route though, have you given some *serious*
> thought to you application? Does it *really* require hard real-time
> response, or does it just feel that way?
>
> -A.
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20070104/94e15337/attachment.html
More information about the uClinux-dev
mailing list