• Show log

    Commit

  • Hash : e88079a8
    Author : Nick Mathewson
    Date : 2009-11-09T18:30:57

    Make persistent timeouts more accurate.
    
    Previously, if the user scheduled a persistent timeout for {1,0}, we
    would schedule the first one at "now+one second", and then when we
    were about to run its callback, we would schedule it again for one
    second after that.  This would introduce creeping delays to the event
    that was supposed to run every second.
    
    Now, we schedule the event for one second after it was _last
    scheduled_.  To do this, we introduce internal code to add an event at
    an _absolute_ tv rather than at now+tv.
    
    svn:r1520
    

  • 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.