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 / vivek
here T1, T2 and T3 as a thread consumes less memory and
more speed
but as a process it consumes more memory.
Example:
Multiple threads can be run within a single memory
allocations.
but process needs seperate memory allocations for each
process.
| Is This Answer Correct ? | 4 Yes | 20 No |
Post New Answer View All Answers
Can a process have 0 threads?
What are threads cpu?
What are server threads?
What does threads mean when downloading?
Is multithreading faster than multiprocessing?
What does 4 cores and 4 threads mean?
What is hyperthreading good for?
Do threads share program counter?
Is face threading bad?
Are goroutines threads?
How many threads can you run?
What is a thread os?
Does hyperthreading reduce performance?
Which thread method is called when a thread starts?
Are threads faster than processes?