Previous | Next --- Slide 42 of 43
Back to Lecture Thumbnails

For the last question, if conflict happens in the critical region , we can abort the operations, and try again (or not then report failure)


I think this scenario is one where back off makes a lot of sense. Back off doesn't really require any overhead to acquire the lock and in the unlikely case that another thread is in the critical section, we just wait. This is certainly better than aborting and has negligible overhead in the common case.