I came across Paul Turner work on increasing efficiency of M:N threading model. I am not able to grasp the concept at slide 18 of LPC-User-Threading
It says : for two threads A and B
:
Minimal scheduling operation.
● B inherits A’s virtual runtime.
● B was not runnable, so we don’t need to remove it from runqueues.
● B holds references on same objects as A
What does virtual runtime mean in this case ?
Will not a random thread B
inheriting A
's environment and referencing same objects cause any problems ?
The video is present at video for the interested.