2 ms·
I suppose I should say instructions which let you do critical sections without disabling preemption or interrupts =P
by Teknoman117 5y ago
I suppose I should say instructions which let you do critical sections without disabling preemption or interrupts =P
- mmastrac 5y agoHah 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.