Multi-threading is useful when you have
a. Processor support like Hyperthreading/multi-core processors and you want to exploit them
b. Provide a quick response esp for GUI/Networking apps.
On single-core processors w/o such support and for applications where data-processing loops take a much longer time than where I/O is required, multi-threading is not of much use. For applications which do not have inherent parallelism, it is not worthwhile to even think of multi-threading as the context switch and synchronization overheads will be more as compared to a non-multithreaded implementation.
2006-07-26 02:20:48
·
answer #1
·
answered by swami060 3
·
0⤊
0⤋
Hi
Multithreading will be used in some networking applications where two simultaneous processing done. So for a normal database application there is no need of multithreading...
2006-07-26 00:25:57
·
answer #2
·
answered by crazynavaneeth 1
·
0⤊
0⤋
Gaming is best example for Multithreading
2006-07-26 00:37:14
·
answer #3
·
answered by pradeep24s 2
·
0⤊
0⤋
The simplest case is GUI application that provides some time-consuming jobs. With single thread, GUI will "hang" until some such job is done.
2006-07-26 00:37:35
·
answer #4
·
answered by alakit013 5
·
0⤊
0⤋