Skip to content

Conversation

steve-chavez
Copy link
Member

This allows compiling on other platforms such as MacOS. (problem previously mentioned on #139 (comment))

It mostly works at this stage but with some limitations:

  • Doing 10K requests fail with "Bad file descriptor"
    • I believe this is because we're not deleting file descriptors since the WaitEvent API doesn't provide EPOLL_CTL_DEL. It only provides EPOLL_CTL_ADD/MOD
  • timerfd is still Linux specific and pg provides no abstraction over it.

This is so the translation to pg WaitEvent API is easier.
This allows compiling on other platforms such as MacOS.

It mostly works at this stage but with some limitations:

- [ ] Doing 10K requests fail with "Bad file descriptor"
  + I believe this is because we're not deleting file descriptors
    since the WaitEvent API doesn't provide EPOLL_CTL_DEL.
    It only provides EPOLL_CTL_ADD/MOD
- [ ] timerfd is still Linux specific and pg provides no abstraction
  over it.
@steve-chavez
Copy link
Member Author

steve-chavez commented Nov 3, 2024

Since there's no EPOLL_CTL_DEL on the pg API, let's use a simpler approach for now on #165.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant