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

What are transaction attributes?

1044


Are we allowed to change the transaction isolation property in middle of a transaction?

986


Difference between swing and awt?

1176


Explain about RMI Architecture?

1027


what are memory considerations of jsp compares to other web components?

6465


Why are some of the class and element names counter-intuitive?

1058


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?

1120


Explain what is synchronization?

1044


What is colon_pkg_prefixes and what is its use?

2462


What are the types of scaling?

1047


What is a class loader? What are the different class loaders used by jvm?

1054


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

5062


Can I use javascript to submit a form?

1098


Do we need to override service() method

1658


How will you pass parameters in RMI? Why do you serialize?

1169