From: Eric Wong Date: 2013-08-21T17:11:14+00:00 Subject: [ruby-core:56773] Re: [ruby-trunk - Feature #8788][Open] use eventfd on newer Linux instead of pipe for timer thread KOSAKI Motohiro 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.