News for hackers. Stuff that matters.
Re:I work in DOS for a day (2014) by Teknoman117 on Tuesday July 06, 2021 @04:30PM (#27753841)
I suppose I should say instructions which let you do critical sections without disabling preemption or interrupts =P
Re:I work in DOS for a day (2014) by mmastrac on Tuesday July 06, 2021 @05:30PM (#27754548)
Hah yes. I got used to the CLI/STI pattern around perf-sensitive or concurrent code on <=386 back in the day.

EDIT: though I wonder now if you could use the fact that flags are returned from basic memory ALU operations to implement some basic atomics.