[Libevent-users] busy waiting on AIX (timercmp bug)

2009-03-09 Thread Richter , Jörg
Hi, I just have a longish debugging session behind me finding out why a process is doing so many poll()s without doing real work. But this only happens on AIX. It turns out that the timercmp macro in combination with = operator does not work. (used in event.c in libevent-1.4.2-rc2) This is

[Libevent-users] Hang with Solaris' event ports and pipes

2009-02-04 Thread Richter , Jörg
Hi, I experience strange behaviour with libevent on Solaris in combination with pipes. Start the following program and then kill its child. The parent goes in an endless loop instead of exiting. When using socketpair() instead of pipe() everything works as expected. Setting EVENT_NOEVPORT=y

AW: [Libevent-users] win32 iocp patch for libevent main trunk

2008-06-15 Thread Richter , Jörg
Hi Stephen Liu, The changes are: 2.Add EV_ACCEPT flag for accept event ( in include\event.h ) #define EV_ACCEPT 0x40 I like your work that you have put into this. Keep on the good work! But what I don't like is the new EV_ACCEPT flag. Have you thought about detecting somehow if a socket