Re: [Libevent-users] question about poll()

2009-12-02 Thread Patrick Galbraith
Nick, Patrick, et all, Yes, thank you! This is exactly what I wanted to know. Trond Norby has given me a Launchpad repo of libmemcached that uses select to implement poll that I'll be testing on Windows. I've been quite pleased at how good at how well libevent compiles on Windows using mingw

Re: [Libevent-users] question about poll()

2009-12-01 Thread Patrick C
As Nick said, the libevent source itself is a great example of abstracting poll() functionality on multiple platforms, using the locally optimized methods of epoll, kqueue, etc depending on the operating system. This is primarily designed for high-performance network daemons (and sometimes clients)

Re: [Libevent-users] question about poll()

2009-12-01 Thread Nick Mathewson
On Wed, Nov 25, 2009 at 02:44:37PM -0500, Patrick Galbraith wrote: > Hi there all! > > I'm working on trying to port libmemcached to Windows. It is not an easy > task! I've just found that libmemcached uses poll() and this is a bit of > a road-block! What do you guys do to get cross-platform sup

[Libevent-users] question about poll()

2009-11-25 Thread Patrick Galbraith
Hi there all! I'm working on trying to port libmemcached to Windows. It is not an easy task! I've just found that libmemcached uses poll() and this is a bit of a road-block! What do you guys do to get cross-platform support? How do you transparently use poll() or other mechanisms to provide th