a basic ques regarding scheduling -- curiosity sake...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A general question asking out of curiosity ...

regarding scheduling in kernel

if its a uniprocessor
and
i am playing two songs of 5 mins duration each in two separate music players
then
lets say cpu switches between these two processes ......

first song1 is being played ..then song 1 is switched to ready queue from run queue ...
song2 is played then ..
then song1 will stop playing for that time period ...
and in that way
song1 shd take 10 mins (acc to my clock)
to complete
isnt it ....?


does it happen like that ...



--
Thanks & Regards
Nidhi Mittal Hada
Scientific officer D
Computer Division
Bhabha Atomic Research Center
Mumbai

http://nidhi-searchingmyself.blogspot.com/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux