morganstanley / hobbes

A language and an embedded JIT compiler
http://hobbes.readthedocs.io/
Apache License 2.0
1.16k stars 105 forks source link

Timeout parameter in stepEventLoop gets ignored #436

Open mo-xiaoming opened 2 years ago

mo-xiaoming commented 2 years ago

If the timeoutMS parameter is anything other than -1

  1. If there are any timers, this timeout gets ignored
  2. otherwise, epoll_wait timeouts out on this, but stepEventLoop doesn't exit