Conversation
|
Thanks for taking a look at this @tmiw. As per the source code documentation these fifos should be thread safe by design (I've been using this design for 20 years). If the test failed it could be due to a bug being introduced. A mutex should not be required. But who knows, maybe recent compilers have changed this situation 🤔
|
It looks like it passes on (basically disable optimization entirely) After making the above change,
Using On Looking more, it seems that |
|
I was playing around a bit tonight and noticed that there's a |
|
BTW, on my 2019 MacBook Pro (x86_64):
|
This PR performs the following: