curl / Mailing Lists / curl-library / Single Mail


hiperfifo example code for linux epoll/timerfd

From: Josh Bialkowski <>
Date: Fri, 27 Jul 2018 15:47:49 -0700


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.



Received on 2018-07-28