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
Is the session factory thread safe?
What is mdb and what is the special feature of that?
How messaging services are done, before release of JMS?
What class is the top of the awt event hierarchy?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
When a thread blocks on i/o, what state does it enter?
How can I scroll through list of pages like the search results in google?
Write a program to show synchronization?
Are there books about seam?
What are the design considerations while making a choice between using interface and abstract class?
what is the use of State Factories?
What is the immediate superclass of the applet class?
Can you give me a simple example of using the requiredif validator rule?
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?
Name the eight primitive java types.