Android is not running Linux as an RTOS. On Wed, Jan 5, 2011 at 6:43 AM, Sherv <[email protected]> wrote:
> Been reading the android development website, these forums, and even > tried to look at the sourcecode with no luck, so hoping someone can > chime in: > > I'm trying to build a Mission Critical device using android as the OS, > and need an app to be the absolute highest priority at all costs > (above all things). I know how android puts apps in certain priority > levels given their services or components, and also how you can use > android.os.process method setThreadPriority() and assign a value of > THREAD_PRIORITY_URGENT_DISPLAY (to map it to a high user-level linux > kernel scheduler process).... what I can't find is how exactly does > the android internal algorithm to determine what priority levels each > app is assigned, how to move them up and down, etc, works! :( > > There has to be a state machine or some sort of algorithm in android's > app management system that determines how all these thread > prioritization works. Any help would be appreciated. > > -Sherv > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

