Yes and no. If all the processes were active and runnable (not blocked waiting for something else to happen) then yes, you would be sharing the CPU with all of them. However, most of them are blocked for one reason or another (disk read, message, signal, UI interaction, another process, ...).
On Dec 6, 8:58 pm, Yu <ywu...@gmail.com> wrote: > Hi, > > If you use 'ps' command, you will get a list of all the current > processes in the system - let us assume that we have n processes. My > question is if a new application is lauched - say Process-A, will A > share the CPU with all the exisiting processes in the system? So the > fraction of CPU for A is about 1/(n+1) - assuming they are of same > nice value ? > > Thanks a lot. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel