Why do we use threads?



Why do we use threads?..

Answer / Rajeev Kumar Gangwar

We use threads to improve the responsiveness, efficiency, and scalability of applications by allowing them to perform multiple tasks simultaneously. Threads can be particularly useful in I/O-bound applications where waiting for I/O operations to complete can cause significant delays.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Threads Interview Questions

Which one is better thread class or runnable interface?

1 Answers  


What do cores and threads do?

1 Answers  


Are threads cores?

1 Answers  


Say we have three threads T1, T2 and T3 which perform sequentially one after another is their any benefit of using thread over here rather than having a single process.

11 Answers   NetApp,


What are the two types of threads?

1 Answers  


Are threads independent?

1 Answers  


Are threads as good as cores?

1 Answers  


Does threading damage the skin?

1 Answers  


Why thread is faster than process?

1 Answers  


A _____ cpu is a cpu that has a speed greater than the speed that was originally intended for the processor.

2 Answers  


What is the main disadvantage of user level threads?

1 Answers  


Why are threads expensive?

1 Answers  


Categories