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

What is the name of first operating system?

506


How do you crash a computer?

516


How do I clean up and speed up my computer?

519


Give some examples of use of thread in a single user multiprocessing system

6165


How do I run a curl command?

548






When I startup my computer the screen is black?

527


What are go channels?

568


What does download with adm mean?

570


What is a Safe State and what is its use in deadlock avoidance?

575


How much memory do I need on my laptop?

560


Explain the term shell.

601


What is a file in computer terms?

526


i want information about real time operating systems because i have an interview tomoorow in valeo company.

2917


What is microsoft spreadsheet compare?

537


How do I make a pdf file on my laptop?

505