> 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.