[Libevent-users] [PATCH] test/Makefile.am: Correct a relative path issue

2007-09-18 Thread Christopher Layne
1. event_rpcgen.py will fail to open regress.rpc if building outside the source directory. -cl -- Index: Makefile.am === --- Makefile.am (revision 433) +++ Makefile.am (working copy) @@ -18,7 +18,7 @@ bench_SOURCES = bench.c

Re: [Libevent-users] event_add() failure return handling

2007-09-18 Thread M.H.VanLeeuwen
Christopher Layne wrote: On Tue, Sep 18, 2007 at 10:10:42PM -0500, M.H.VanLeeuwen wrote: Hi, When event_add(ev, tv) returns -1, what is the proper way to clean up. For example function XYZZY() takes socket fd as an argument XYZZY(int sockfd) { allocate event structure related memory...

[Libevent-users] event_base_loop_break()?

2007-09-18 Thread Scott Lamb
While playing with pyevent, I saw this code: def abort(): Abort event dispatch loop. cdef extern int event_gotsig cdef extern int (*event_sigcb)() event_sigcb = __event_sigcb event_gotsig = 1 This is used in exception handling - if a callback throws an exception, it does