Material Detail

Race condition in Producer/Consumer problem

Race condition in Producer/Consumer problem

This animation shows the problem of race condition in Producer/Consumer problem step by step.  When both producer and consumer processes access the same variable concurrently without control, the final (possibly incorrect) value of the variable is determined by the process that updates the value last (i.e., the loser of the race). 

Quality

  • User Rating
  • Comments  (1) Comments
  • Learning Exercises
  • Bookmark Collections
  • Course ePortfolios
  • Accessibility Info

More about this material

Comments

Log in to participate in the discussions or sign up if you are not already a MERLOT member.
Vishal Pandey
Vishal Pandey (Student)
5 years ago
hghjmjhfcgdmhdhgmhgj,,ghgjgyffhfmgf.j.hljhlhouhukhi