Link to home
Start Free TrialLog in
Avatar of PrakashVarma
PrakashVarma

asked on

Threads Starvation

Hi Friends,

please explain what is Starvation and what are greedy threads in java?
Avatar of krakatoa
krakatoa
Flag of United Kingdom of Great Britain and Northern Ireland image

Avatar of PrakashVarma
PrakashVarma

ASKER

Thank you..

As per my understanding greedy threads running threads and they won't give any chance to another threads to enter in to lock code(Synchronized code)

please correct me if i'm wrong.
I think that's the case, yes. There are also differences in how operating systems handle threads in terms of CPU time - time slicing on Unix is different from, say, Windows.
ASKER CERTIFIED SOLUTION
Avatar of Valeri
Valeri
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you