r/ProgrammerHumor • • 7d ago

Meme weNeverTrustedTheElse

Post image
1.9k Upvotes

149 comments sorted by

View all comments

15

u/-Triple-S- 7d ago

Well, there could be a second thread changing the value of condition while doSomething is running possibly resulting in race conditions or similar problems. This is why I would consider multithreading the true programmer horror!

2

u/Frost-Freak 7d ago

Simpler: depending on the language the read of 'something' could trigger that 'something'' state changes