What is advantage of using threads?
Answers were Sorted based on User's Feedback
Answer / rajashree
a)lower context switching over head.
b)shared state:
allowed concurrent instance of the server to communicate
easily with each other
c)linux supports the POSIX thread standard
i)pthreads library.
ii)portable across most unix platform.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / yayati pavan kumar
Threads means part of a program which is in execution.That
means it's very easy to implement any large and complex
application by partitioning into threads. By this we can
save memory or storage.
we can decrease time of execution
It is very easy to test as the whole code partitioned into
parts and execute
| Is This Answer Correct ? | 8 Yes | 1 No |
Which is better 64 bit or 32 bit?
When does a class need a virtual destructor?
Why hashmap is used in java?
explain local datetime api in java8?
Why is java so popular?
How do you ensure that n threads can access n resources without deadlock?
What do you mean by an object in java?
What do you mean Abstraction in java?
What do you know about the garbage collector in java?
What is a class component?
Are arrays dynamic in java?
Is namespace same as package in java?