Re: ev_io and message queues

2009-03-29 Thread Joachim Nilsson
Hi! Just wanted to let you know that POSIX message queues works perfectly with libev! See this blog entry about my experiences, and some code examples thus far: http://vmlinux.org/jocke/blog/hacks/libev-message-queues Thanks for a great library! Regards /Joachim

ev_io and message queues

2009-03-27 Thread Joachim Nilsson
Hi! My name is Joachim and I'm new to this list. I've just started evaluating libev as a possible replacement for a homebrew timer implementation (based on Don Libes Implementing Software Timers). So far so good, the timers are easily replaceable. My next hurdle was refactoring a state machine

Re: ev_io and message queues

2009-03-27 Thread Marc Lehmann
On Fri, Mar 27, 2009 at 08:55:34PM +0100, Joachim Nilsson troglo...@gmail.com wrote: connecting an ev_io watcher to the message queue identifier, which is rumored to be a standard file descriptor in Linux. No luck so far. I never heard that this should be the case, and would be very surprised