You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that you are very busy with your education and other things, but I was wondering if this is something that you started with and abandoned or if you never got around to it at all?
I am trying to gauge how much effort this would be to achieve. My first impression is that it is a fairly sizeable task.
I never got around to starting it. The main task, iirc, would be coding the FreeBSD analog of epoll and modifying the code to compile using either kqueue (i think is the FreeBSD equivalent of epoll) for FreeBSD or using epoll for Linux. I believe the rest of the socket code is relatively the same for FreeBSD and Linux, though my knowledge is a little rusty on this subject.
I don't have any experience with this myself. Potentially one could use libevent which is supposed to be a cross-platform library that supports epoll, kqueue and other poll mechanisms.
Look into using select. Not sure if this is more widely supported.
Another alternative is to separate epoll into a separate file and use macros to determine whether to use kqueue or epoll.
The text was updated successfully, but these errors were encountered: