WHAT IS RUNNABLE STATE?

No comments

Runnable  state :     Rub  able  state  means  that  the  thread  is  ready  for  execution  and  it  waiting  for  the  availability  of  the  processor.  Thread  has  joined  the  queue  of  threads  that  are  waiting  for  execution.  If  all  threads  have  equal   priority  then  they  are  given  time  slots  for  execution   in  round  rooming  fashion  that  is  fast  come  fast  surp  manner.

           However  if  you  want  a  thread  to  a  relinquishing  control  to  another  thread  of  equal  priority  before  its  turn  common  we  can  do  by  using  yield  method.

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀