Subj : Re: Multi-threading architecture To : comp.programming.threads From : Markus Elfring Date : Sat Oct 01 2005 08:06 pm > 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 ?? Why do you need a delay? Why do you want to reduce the usage? I would expect to keep the hardware fully loaded to get the work done as fast as possible until the threads can return to sleep for their next jobs or tasks in their waiting queue. Is the document "Evaluating and Optimizing Thread Pool Strategies for Real-Time CORBA" useful for you? http://www.cs.wustl.edu/~schmidt/PDF/OM-01.pdf http://sherry.ifi.unizh.ch/451897.html Regards, Markus .