[OpenSmalltalk/opensmalltalk-vm] 3db388: Fix two issues with the epoll code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] 3db388: Fix two issues with the epoll code

Eliot Miranda-3
 
  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 3db3888c2a76bd91ef66d70521d85f80e9d18f1d
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/3db3888c2a76bd91ef66d70521d85f80e9d18f1d
  Author: Levente Uzonyi <[hidden email]>
  Date:   2020-12-14 (Mon, 14 Dec 2020)

  Changed paths:
    M platforms/unix/vm/aio.c

  Log Message:
  -----------
  Fix two issues with the epoll code

- epoll_wait expects the timeout value in milliseconds instead of microseconds
- set the EPOLLET flag for all events as a cheaper alternative of
removing the event handlers each time they are triggered