3 comments

[ 2.7 ms ] story [ 16.0 ms ] thread
Thanks Julia, as always great educational post!
I ran the program counter_race.c, messing around with the NUM_THREADS. From what I can understand, in a perfect world the expected number should be 10,000,000. Is it an error that the article says 20,000,000?
what are alternatives to mutexes? I find them a software engineering disaster waiting to happen.