Skip to content

Latest commit

 

History

History

casn

Multi-Word CAS

In this task, you need to implement the atomic cas2(..) for AtomicArray, which atomically changes two locations in the array. Please use the multi-word CAS algorithm discussed in class. Remember to always install k-CAS descriptors in the same order.

To test your solution, please run:

  • ./gradlew test on Linux or MacOS
  • gradlew test on Windows