Subj : Re: Multi-threading architecture To : comp.programming.threads From : David Schwartz Date : Thu Sep 29 2005 12:25 pm "jambu" wrote in message news:1127995850.662677.140180@o13g2000cwo.googlegroups.com... > Yes the performance has increased when i changed my code as you > specified . But as I let all the five threads to run continuously , 70 > % of the CPU gets used always . I have put a Delay in the Thread if > there is no request . So Is there any alternate way to acheive what > you have said ??? How shall I reduce my CPU Usage ?? The threads should not be running when they have nothing to do. They should be waiting for something to do. You probably need to learn how to use condition variables. DS .