Answer Posted / nag~1417
Threads also have some disadvantages:
Threads are not reusable as they are dependent on a process
and cannot be separated from the process.
Threads are not isolated as they don't have their own
address space.
The error cause by the thread can kill the entire process
or program because that error affects the entire memory
space of all threads use in that process or program.
Due to the shared resources by the threads with in the
process can also affect the whole process or program when a
resource damage by the thread.
For concurrent read and write access to the memory thread
will required synchronizations. Data of the process can
easily damage by the thread through data race because all
the threads with in the process have write access to same
piece of dat
Is This Answer Correct ? | 35 Yes | 2 No |
Post New Answer View All Answers
What is a policy?
How are the elements of a borderlayout organized?
How can I scroll through list of pages like the search results in google?
How is a java object message delivered to a non-java client?
whats is mean by tiles in struts
Can you give me a simple example of using the requiredif validator rule?
how do you Handle Front End Application data against DB with example?
What is aop(assepct oriented programing)?
Why a client should be multithreading? Explain.
What is the form of storage space in java?
Define aop(assepct oriented programing)?
Why are some of the class and element names counter-intuitive?
What is bean? Where can it be used?
To what value is a variable of the string type automatically initialized?
What is scalable, portability in the view of J2EE?