curl-library
hiperfifo example code for linux epoll/timerfd
Date: Fri, 27 Jul 2018 15:47:49 -0700
Hello,
I was trying to work out how to integrate libcurl's multi interface using
epoll and timerfd. In the process, I worked through the `hiperfifo.c` demo
using these APIs. I figured I would share the code in case someone would
like to add it to the list of examples or in case it helps anyone else.
The code is attached. I diffed it against `hiperfifo.c` and attempted to
minimize any differences so it should look very familiar. I also created a
pull request on github. I'm happy to accept feedback over the mailing list
or on github.
https://github.com/curl/curl/pull/2804
Josh
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
- text/x-csrc attachment: ephiperfifo.c