curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: hiperfifo example code for linux epoll/timerfd

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 28 Jul 2018 22:59:40 +0200 (CEST)

On Fri, 27 Jul 2018, Josh Bialkowski wrote:

> 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.

I believe in keeping the bar low to accept new examples, so this is now merged
and available directly on the web site here:

   https://curl.haxx.se/libcurl/c/ephiperfifo.html

Thanks Josh!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-07-28