PrakashVarma
asked on
Threads Starvation
Hi Friends,
please explain what is Starvation and what are greedy threads in java?
please explain what is Starvation and what are greedy threads in java?
http://www.fromdev.com/200 8/05/java- threading- questions. html
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you