What is race condition ?? (Threading concept) TCS 2 sept10

Answer Posted / suj

Race conditions
: Threads can try to update the same data structure at the same time.
The result can be partly what one thread wrote and partly what the other thread wrote.
This garbles the data structure, typically causing the next thread that tries to use it to
crash.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are decalarations?

630


What is int lol?

590


How to create com object in Java?

642


Why is the singleton pattern considered to be an anti pattern?

466


What is the base class in java from which all classes are derived?

510






What is the use of runnable interface?

600


Write the algorithm to check the number non-leaf nodes in a tree.

581


What do you mean by local variable and instance variable?

508


Name container classes in java programming?

586


How can you avoid serialization in child class if the base class is implementing the serializable interface?

627


Explain the polymorphism principle?

572


Why is the type for real numbers called double?

540


In Java list the methods that can be overridden?

564


Can java run on google chrome?

563


What is the difference between inner class and nested class?

544