Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is disadvantage of thread?

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


Please Help Members By Posting Answers For Below Questions

Where can I ask questions and make suggestions about seam?

1117


What is the purpose of the wait() method?

1289


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

1086


How task's priority is used in scheduling?

2344


What is bean? Where can it be used?

1250


What is the difference between the session.update() method and the session.lock() method?

1088


whats is mean by tiles in struts

2297


Explain the steps in details to load the server object dynamically?

5146


What are the design considerations while making a choice between using interface and abstract class?

1140


What is metaspace?

1096


What is permgen or permanent generation?

1082


Is the session factory thread safe?

1237


What is threadfactory?

1155


Why won’t the jvm terminate when I close all the application windows?

1304


What are the purpose of introspection?

1264