• Show log

    Commit

  • Hash : 6b22e74a
    Author : Nick Mathewson
    Date : 2009-10-21T03:54:00

    Add locking to event_base_loop.
    
    This is harder than it sounds, since we need to make sure to
    release the lock around the key call to the kernel (e.g.,
    select, epoll_wait, kevent), AND we need to make sure that
    none of the fields that are used in that call are touched by
    anything that might be running concurrently in another
    thread.  I managed to do this pretty well for everything but
    poll().  With poll, I needed to introduce a copy of the
    event_set structure.
    
    This patch also fixes a bug in win32.c where we called
    realloc() instead of mm_realloc().
    
    svn:r1450
    

  • README

  • To build libevent, type
    
    $ ./configure && make
    
         (If you got libevent from the subversion repository, you will
          first need to run the included "autogen.sh" script in order to
          generate the configure script.)
    
    Install as root via
    
    # make install
    
    You can run the regression tests by
    
    $ make verify
    
    Before, reporting any problems, please run the regression tests.
    
    To enable the low-level tracing build the library as:
    
    CFLAGS=-DUSE_DEBUG ./configure [...]
    
    Acknowledgements:
    -----------------
    
    The following people have helped with suggestions, ideas, code or
    fixing bugs:
    
      Alejo
      Weston Andros Adamson
      William Ahern
      Stas Bekman
      Andrew Danforth
      Mike Davis
      Shie Erlich
      Alexander von Gernler
      Artur Grabowski
      Aaron Hopkins
      Claudio Jeker
      Scott Lamb
      Adam Langley
      Philip Lewis
      David Libenzi
      Nick Mathewson
      Andrey Matveev
      Richard Nyberg
      Jon Oberheide
      Phil Oleson
      Dave Pacheco
      Tassilo von Parseval
      Pierre Phaneuf
      Jon Poland
      Bert JW Regeer
      Dug Song
      Taral
    
    If I have forgotten your name, please contact me.