Re:Introduction to the Mill CPU Programming Model
by willvarfar on Friday February 07, 2014 @07:39PM
(#7199775)
Actually, the Mill is designed to address this; it has TLS segment for cheap green threading, SAS for cheap syscall and microkernel arch, cheap calls and several details for IPC which are not public yet.
Re:Introduction to the Mill CPU Programming Model
by JoeAltmaier on Saturday February 08, 2014 @11:04AM
(#7201500)
What about synchronization? Folks are terrified of threads because synchronizing is so hard. But a thread model can be the simplest especially in message models.
I'd like to see an architecture address those somehow. E.g. virtualize hardware devices instead of writing kernel-mode drivers. Create instructions to synchronize hyperthreads instead of kernel calls (e.g. a large (128bit?) event register, a stall-on-event opcode). If interrupts were events then a thread could wait on an interrupt without entering the kernel.