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 / guest

Yes there is benefit,If we want to execute fast three
different instructions at same time than multithreading
concept is important and if we wanna that 1 thread execute
and get killed and we again create another for nerxt
instruction in that case we can go for a single threwad.

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why context switching is faster in threads?

437


Can threading cause hair to grow back thicker?

406


How many cores and threads do I need?

425


Can a process have 0 threads?

442


How do threads work?

410






What are kernel threads?

395


Why is hyperthreading turned off?

459


Can we create a thread inside a thread?

468


Can two threads share the same stack?

393


What is the main disadvantage of user level threads?

425


What is kernel level thread?

429


Are pthreads kernel threads?

386


Do threads have pids?

407


Can threading stop hair growth?

486


How many maximum threads can you create?

451