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 are transaction attributes?
Are we allowed to change the transaction isolation property in middle of a transaction?
Difference between swing and awt?
Explain about RMI Architecture?
what are memory considerations of jsp compares to other web components?
Why are some of the class and element names counter-intuitive?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
Explain what is synchronization?
What is colon_pkg_prefixes and what is its use?
What are the types of scaling?
What is a class loader? What are the different class loaders used by jvm?
Explain the steps in details to load the server object dynamically?
Can I use javascript to submit a form?
Do we need to override service() method
How will you pass parameters in RMI? Why do you serialize?