This is regarding threads.I am nt able to understand how threads can be helpful on single processor with respect to execution time.Because if we drill down to processor level(Single processor) then only one task can be executed at particular point.I am nt able to get how threads can reduce the execution time .i have searched a lot but unable to get satisfactory answer.
Joined: Apr 19, 2005
Threads wont reduce the execution time.by using threads we can utilise the CPU idle time.when processor goes to an idle stage(eg:-waiting for an input from the user)we can map the processor to execute some other job instead of waiting long time.hope this will give some idea.
Joined: Feb 11, 2005
Can anyone explain with the help of web Server or download accelator.they are best examples of multithreading