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

To what value is a variable of the string type automatically initialized?

1122


What is the difference between java class and bean?

1057


Can I use multiple html form elements with the same name?

1039


What is the relation between the infobus and rmi?

986


Explain ioc concept?

1122


What restrictions are placed on the values of each case of a switch statement?

1000


To identify IDL language what mapping mechanism is used?

3928


How primary key is implemented in Oracle?

2433


wahts is mean by dynavalidatorform in struts/

2054


Difference between swing and awt?

1261


What are the different algorithms used for clustering?

1054


What are the different methods of identifying an object?

1052


Should synchronization primitives be used on bean methods?

1048


What are transaction attributes?

1091


What is the relationship between local interfaces and container-managed relationships?

1105