cs431
cs431 copied to clipboard
[Homework 6] Hazard Pointers (due: 2022-12-19 23:59:59)
Implement Hazard Pointers with fences.
-
Read this manual for general advice on homework.
-
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
We have updated the grading script to partially allow SeqCst
ordering. You will still need to use more relaxed orderings with fence
s to get full points.
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.
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.