[Question] HW 7 reason for having atomicUsize type in hazard field #963
Labels
homework - hazard_pointer
hazard_pointer/{mod,hazard,retire}.rs
question
Further information is requested
From my understanding, it seems the hazard: atomicUsize field is meant for storing the pointers to the actual data. But why usize used, when we can just use an atomicPointer? Is there any reasons for this. Or maybe I am misunderstanding the role of hazard: AtomicUsize.
The text was updated successfully, but these errors were encountered: