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
Why are user level threads faster than kernel level threads?
Can two threads execute at the same time?
How do I start a runnable thread?
Are cpu threads important?
What does 4 cores and 4 threads mean?
What are the differences between user level threads and kernel threads?
how will you distinguish if it is a process or a thread, provided you know pid in linux operating system?
What is context switching between threads?
What is kernel level thread?
What do cores and threads do?
Can threading stop hair growth?
What does threads mean when downloading?
Can we overload run method of thread?
How many threads does an i7 8700k have?
is there a command line shortcut to the login directory