cs431 icon indicating copy to clipboard operation
cs431 copied to clipboard

[Homework 6] Hazard Pointers (due: 2022-12-19 23:59:59)

Open Lee-Janggun opened this issue 2 years ago • 2 comments

Implement Hazard Pointers with fences.

  • Read this manual for general advice on homework.

  • Documentation & Tips.

  • Use skeleton code as a starting point, and fill out todo!().

    • IMPORTANT: don't fork this repository. It'll be public!
  • Submit your code here. You can create the zip to submit as follows:

    cd cs431/homework
    ./scripts/submit.sh
    ls ./target/hw-hazard_pointer.zip     # file to submit
    

Lee-Janggun avatar Aug 31 '22 14:08 Lee-Janggun

We have updated the grading script to partially allow SeqCst ordering. You will still need to use more relaxed orderings with fences to get full points.

Lee-Janggun avatar Sep 20 '22 07:09 Lee-Janggun

I forgot to mention it above, but since the grading script has changes, all previous submissions are nullified, so please submit again.

Assignments that had gotten full scores before should still get full points.

Lee-Janggun avatar Sep 22 '22 06:09 Lee-Janggun

We updated the hazard pointer homework with more lower-level API and test cases in https://github.com/kaist-cp/cs431/commit/2468576b5520d0c64f7f9d75296634269ccef259.

This is a breaking change with more test cases, hence all previous submissions are nullified. Please submit again.

For students that have done the homework, the new task will be mostly to split the try_protect() function they have implemented into the set() and validate() functions.

Lee-Janggun avatar Nov 10 '22 08:11 Lee-Janggun