Closed NathanielRN closed 3 years ago
From the follow up to this Piazza question
Fixes the example using spinlock compare_and_swap to continue trying to lock if the old_value of the lock is true. Old value of true means locking was unsuccessful.
compare_and_swap
true
Fixes #59
From the follow up to this Piazza question
Fixes the example using spinlock
compare_and_swap
to continue trying to lock if the old_value of the lock istrue
. Old value oftrue
means locking was unsuccessful.Fixes #59