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
Difference between swing and awt?
which book is better for jdbc ,servlets and jsp
Have you used threads in Servelet?
Are we allowed to change the transaction isolation property in middle of a transaction?
Why are my checkboxes not being set from on to off?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
Write a program to show synchronization?
Describe, in general, how java's garbage collector works?
What is scalable, portability in the view of J2EE?
Is “abc” a primitive value?
When a thread blocks on i/o?
Why a component architecture for the java platform?
Are there books about seam?
Should synchronization primitives be used on bean methods?
What is message driven beam?