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 the difference between system.out ,system.err and system.in?
What must a class do to implement an interface?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
Where can I find seam examples and documentation?
How can I avoid validating a form before data is entered?
What is difference between object state and behavior?
What are the benefits of detached objects?
What event results from the clicking of a button?
Difference between DurableSubscription and non- DurableSubscription?
Can you give me a simple example of using the requiredif validator rule?
Define the remote object implementation?
How is a java object message delivered to a non-java client?
What are the design considerations while making a choice between using interface and abstract class?
What do you know about seam?
How are the elements of a cardlayout organized?