Re:Hell is a multi-threaded C++ program (2006)
by gpderetta on Tuesday September 05, 2017 @06:46AM
(#15173939)
You are not wrong in general but note that there are ways to disable preemption in userspace in practice, be it SCHED_FIFO[1] or isolcpu with cpu pinning.
[1] you better be careful with spinlocks and priorities here as you can livelock forever.
[1] you better be careful with spinlocks and priorities here as you can livelock forever.