News for hackers. Stuff that matters.
Re:Threads Are a Bad Idea for Most Purposes (1995) [pdf] by samatman on Tuesday January 28, 2020 @06:59PM (#22175583)
The question shouldn't have been about preëmption, but rather, "what if some other thread mutates my data here?"

The effect is much the same, whether the race is caused by task scheduling, or just because another core got there first.

Re:Threads Are a Bad Idea for Most Purposes (1995) [pdf] by gpderetta on Tuesday January 28, 2020 @09:07PM (#22176481)
Or even if some random function you called fired some callback that just mutated some state you were in the middle of changing.