|
|
|
|
|
by pdimitar
2268 days ago
|
|
Thank you for the extremely informative answer! It was very helpful. Another question, if you allow me: Will you provide preemptive scheduling primitives? Or will they be possible through the more low-level interface you described? IMO preemptive scheduling is something that's very necessary nowadays, especially with the explosion of CPU core count. |
|
We can do preemptive scheduling of user-level threads by registering a timer interrupt with the OS and preempting the currently running user-level thread in favor of another one. This is up to the individual libraries to implement. These issues are discussed in [1] Sec 4.3.