KOSAKI Motohiro <kosaki.motohiro / gmail.com> wrote:
> > Ideally, we wouldn't even need a timer thread and we could just use
> > ppoll/pselect.  But that would be a very intrusive change (and maybe too
> > incompatible with C extensions).
> 
> Ideally?
> syscall is much slower than current flag check in VM loop. That's why
> now VM event loop doesn't handle thread runtime expire directly.

Ah, I forget about thread runtime expiry.  Maybe that's why I gave up
on the idea originally, I had this idea a long while (years?) back.