On Sat, 7 Mar 2015 01:51:00 -0800 (PST), you wrote: >Hi, >Can I write me own RTOS on BBB? > >What I wonder is, say that I put an High-Priority Thread A on sleep for >10ms, and let Low-Priority Thread B works, > >How can I make sure that after 10ms Thread A will halt Thread B and will >gain the CPU time?
Go look at pre-emptive scheduling, and never let any program turn off the timer interrupt (or at least if it does, make sure that it goes back on very very soon). Why not look into FreeRTOS, which may answer a lot of your needs, and is already written? Harvey > >Thank you. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
