1. Download our Official Android App: Forums for Android!

Is Android an RTOS?

Discussion in 'Android Lounge' started by Lvenok, Oct 13, 2010.

  1. Lvenok

    Lvenok Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Oct 12, 2010

    Oct 12, 2010
    2
    0
    5
    Please give me detailed answer for that question. I can't find an information, that confirms or refuses that statement.

    P.S.: I'm sorry, if my message contains mistakes. I know English a little bit. :)
    RTOS - Real Time Operating System
     

    Advertisement

  2. Ed Zachary

    Ed Zachary Newbie
    Rank:
     #1,504
    Points:
    16
    Posts:
    12
    Joined:
    Dec 10, 2009

    Dec 10, 2009
    12
    1
    16
  3. A.Nonymous

    A.Nonymous Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    7,059
    Joined:
    Jun 7, 2010

    Jun 7, 2010
    7,059
    966
    213
    WTF is RTOS? I hate acronyms.
     
  4. Lvenok

    Lvenok Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Oct 12, 2010

    Oct 12, 2010
    2
    0
    5
  5. Bitbang3r

    Bitbang3r Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    108
    Joined:
    Apr 24, 2010

    Apr 24, 2010
    108
    24
    38
    No, Android is not a RTOS, because Android isn't deterministic. It doesn't try to be. Running apps have no guarantees about anything. If you need a true RTOS, Android is NOT the right OS to use.

    Note that "Realtime" does NOT mean "responsive", as in, "The phone had a fluid and responsive UI". "Realtime" simply means that you, the programmer, can know in advance *exactly* how often your code will run, how long it will take to run, and the conditions under which it will run. You might have to go out of your way to guarantee those specific conditions, but you CAN if you MUST. Under Android, there are NO guarantees, except that nothing is guaranteed.

    I cringe whenever I see something like "Realtime Linux" in print, because getting anything that resembles Linux to be truly "realtime" requires replacing so much of the kernel, by the time you're done you're left with little more than "GPL'ed open-source unix-like realtime operating system loosely inspired by the work of Linus Torvalds", in much the same way that Microsoft has realtime variants of Windows CE that share the first 7 letters of their name with a popular desktop operating system published by the same company.
     
    Lvenok likes this.
  6. takeshi

    takeshi Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    3,354
    Joined:
    Dec 6, 2009

    Dec 6, 2009
    3,354
    283
    163
    ORLY? :thinking:
     
  7. A.Nonymous

    A.Nonymous Android Expert
    Rank:
    None
    Points:
    213
    Posts:
    7,059
    Joined:
    Jun 7, 2010

    Jun 7, 2010
    7,059
    966
    213
    Five posts and I still don't know what RTOS is. **Goes off to the googles...**
     
  8. rubiconjp

    rubiconjp Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    363
    Joined:
    Sep 20, 2010

    Sep 20, 2010
    363
    40
    43
    A popular RTOS is VxWorks. Look it up and you will find its RTOS features that a 'normal' OS such as Linux kernel does not have.

    Key feature of an RTOS is that an application's interrupt priority can be as high as any of the kernel processes, thus guarantees that the application's request can be processed in an 'immediate' fashion, thus the 'real time', i.e. minimal latency.

    This is all good right? Sure but it also makes for hellish debugging of many application processes over-stepping one another's memory allocations, leading to harder to debug intermittent crashes of an application.
     
  9. Old Member

    Old Member Android Expert
    Rank:
    None
    Points:
    313
    Posts:
    2,586
    Joined:
    Mar 23, 2010

    Mar 23, 2010
    2,586
    1,905
    313
    Male
    Teacher/Church Planter/ Basketball Coach
    Cincinnati
    RTOS=Real Time Operating System
     

Share This Page

Loading...