What is the use of thread over process?

Answer Posted / sachin tyagi

thread is part of process.it is a lightweight component
because threads take same memory area.we use threads for
faster execution.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can hyper threading hurt performance?

414


Do threads have pids?

401


What are threads and processes?

468


How does thread pool keeps the thread alive?

405


Why are goroutines not lightweight threads?

418






Which thread method is called when a thread starts?

415


Whats the difference between a thread and a process?

435


What are threads cpu?

427


Does hyperthreading reduce performance?

424


Is python a single thread?

425


What is the difference between user level thread and kernel level thread?

427


Is face threading bad?

422


What are the process states in linux?

378


Do threads share memory?

422


What is context switching between threads?

444