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
Can I use javascript to submit a form?
When a thread blocks on i/o?
What is a modular application? What does module-relative mean?
What are the different approaches to represent an inheritance hierarchy?
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me
What are the different class loaders used by jvm?
Is jvm a overhead?
How would you create a button with rounded edges?
Is the infobus client side only?
Difference between new operator and class.forname().newinstance()?
Name three subclasses of the component class?
Which container method is used to cause a container to be laid out and redisplayed?
Name the eight primitive java types.
What is scalable, portability in the view of J2EE?
What is table mutation and how do you avoid it?