News for hackers. Stuff that matters.
Re:The Programming Interview from Hell by kazinator on Monday February 20, 2017 @11:52PM (#13693363)
Early versions of Unix were co-operative. While a task executed kernel code, it was not preemptable. That might be the simplest thread synchronization. Masking interrupts is then just for exclusion between the one and only kernel thread, and interrupt context.
Re:The Programming Interview from Hell by kabdib on Tuesday February 21, 2017 @03:26PM (#13699546)
That's true.