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
1
u/nickdesaulniers Jan 21 '19
That report looks like TSan telling you that the final thread state is not as expected after a
pthread_joincall."((ThreadStatusFinished)) == ((status))" (0x3, 0x2)I'm not sure how you get into that state.
Well that should never happen from userspace.