Y
Hacker News
new
|
ask
|
show
|
jobs
by
bob1029
1520 days ago
What if you have multiple CPUs and you
don't
want the task to yield (i.e. for performance or latency reasons)?
1 comments
dmitrygr
1520 days ago
That limits your OS to numThreads < numCpus
link
bob1029
1520 days ago
What if we have multiple classes of threads with varying scheduling and interruption policies?
link
dmitrygr
1520 days ago
Either you have interrupts to interrupt them, you have more cores than threads, or you risk starvation. Simple.
link
bob1029
1520 days ago
No opportunity for nuance wherein some of the compute resources are reserved for certain types of threads?
link