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.

Answer Posted / sumant kulkarni

I really feel, using threads in this situation is wastage of
resources. Using a single process would be the right choice.
This avoids context switching between threads.

Is This Answer Correct ?    34 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are threads as good as cores?

438


What is hyperthreading good for?

430


Can hyper threading hurt performance?

420


Can a thread have multiple processes?

448


What do cpu threads do?

408






What is difference between thread and runnable?

443


Do threads share heap?

432


What is difference between processes and threads?

429


What is a thread os?

441


How many maximum threads can you create?

451


How many threads can one core handle?

435


What are the advantages of threads over processes?

451


What are the benefits of multithreading?

441


how will you distinguish if it is a process or a thread, provided you know pid in linux operating system?

473


is there a command line shortcut to the login directory

1214