Interview Question
"do blocking process consume cpu resources."
That is why we use to block the thread.Busy waiting keep on eating CPU resources and also prevent other threads to run and thus affect the responsiveness of an application to the end-user .Blocking a thread is for faster development and maintainability or scalability.
However, if we work on process there, blocking a process can block a client for a moment :(
"do blocking process consume cpu resources."
- Anonymous October 26, 2009That is why we use to block the thread.Busy waiting keep on eating CPU resources and also prevent other threads to run and thus affect the responsiveness of an application to the end-user .Blocking a thread is for faster development and maintainability or scalability.
However, if we work on process there, blocking a process can block a client for a moment :(