Re: libuv example

2013-04-13 Thread Clemens Gruber
"Gisle Vanem" wrote: > "Clemens Gruber" wrote: >> I am sure many of you are aware that libev and libevent only support >> select()/poll() on Windows, but not the nice and much faster IO >> Completion Ports API. > libevent as used in the Tor-project and others has used IOCP for > some time no

Re: [curl] libuv example (#61)

2013-03-27 Thread Daniel Stenberg
On Tue, 26 Mar 2013, Clemens Gruber wrote: Hi, as mentioned on the mailing list, I added a little libuv example. It tested it on OSX and Windows, but it should work on other platforms as well. I added a tiny description and your copyright header. Hope that is sufficient as a first version

Re: libuv example

2013-03-27 Thread Gisle Vanem
"Clemens Gruber" wrote: I am sure many of you are aware that libev and libevent only support select()/poll() on Windows, but not the nice and much faster IO Completion Ports API. libevent as used in the Tor-project and others has used IOCP for some time now. Since ver 2.0? Ref: http://sour

Re: libuv example

2013-03-26 Thread Daniel Stenberg
On Tue, 26 Mar 2013, Clemens Gruber wrote: Maybe the following code example would also be an interesting one for the curl homepage? If you agree, I will create a pull request on Github. Then we could improve it further. What do you think? Sounds excellent! I'd love to add a libuv examp

libuv example

2013-03-26 Thread Clemens Gruber
Hi, I am sure many of you are aware that libev and libevent only support select()/poll() on Windows, but not the nice and much faster IO Completion Ports API. Luckily, the guys from Node.js made a library called libuv. It should be equally fast on unixes (uses epoll/kqueue/etc like libev/libevent)