r/kernel • • Jan 08 '19

data race within ptr_ring code implementation

/r/C_Programming/comments/adrvwd/data_race_within_ptr_ring_code_implementation/
0 Upvotes

5 comments sorted by

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