What is the use of thread over process?

Answer Posted / vinay verma

Thread is a lightwait processes .it use the same resource of
main process(parant process)and it runs in the same address
space of main program .

Is This Answer Correct ?    38 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain each system calls used for process management in linux.

425


What is context switching between threads?

444


Can threading stop hair growth?

485


Why do we need thread pool?

437


Is python a single thread?

425






Why do we use threads?

447


Are threads cores?

445


Do threads share variables?

453


Which one is better thread class or runnable interface?

418


What are the advantages of threads?

467


Can one thread run on multiple cores?

421


What does threads mean when downloading?

424


What does 4 cores and 4 threads mean?

413


Why are goroutines not lightweight threads?

418


Do threads share program counter?

449