what is live lock,race condition,starvation?how it work and explain brifly?

Answer Posted / israr khan

Race conditions occur when two threads interact in a negatve (buggy) way depending on the exact order that their different instructions are executed. If one thread sets a global variable, for example, then a second thread reads and modifies that global variable, and the first thread reads the variable, the first thread may experience a bug because the variable has changed unexpectedly.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you remove a virus from your computer?

518


Which is better curl or wget?

590


How do I run wget?

528


What is the fastest computer operating system?

517


What Command To Restore Backup Of Non - Rootvg?

629






What is the best free operating system?

540


describe the situation in which priority inversion can occur

919


What happens when I reset my computer?

568


Assuming one link of the Trojan horse copy-and-observe-later chain is broken. There are two other possible angles of attack by Alice: Alice logging on and attempting to read the string directly, and alice assigning a security level of sensitive to the back-pocket file. Does the reference monitor prevent these attacks?

2392


What is the first operating system in the world?

557


How do I clean up and speed up my computer?

523


what are latest technologies ? and how will keep yourself up to date ?

2442


Which one is the first operating system?

527


What are different errors encountered while compiling?

751


What is the difference between kernel and operating system?

526