What is advantage of using threads?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of toarray () in java?

525


what are the methods in object?

621


What is locale in java?

561


What is bufferedwriter?

529


What is a lock or purpose of locks in java?

576






Why are functions called methods in java?

510


How do you download stubs from Remote place?

1346


Define immutable object?

571


What is exception handling in java?

561


What is final?

590


Which one of the following suits the description of a string better: derived or primitive?

495


What is an exception in java?

632


What is the tradeoff between using an unordered array versus an ordered array?

637


Can we instantiate interface in java?

662


What are constants and how to create constants in java?

544