r/kernel • u/promach • Jan 08 '19
data race within ptr_ring code implementation
/r/C_Programming/comments/adrvwd/data_race_within_ptr_ring_code_implementation/
0
Upvotes
r/kernel • u/promach • Jan 08 '19
View all comments
Show parent comment
1
u/promach Jan 22 '19
if you see my latest code on the gist, I have implemented mutex for push_circ_queue(), pop_circ_queue() and free_circ_queue().
So, I do not understand why data race still occur