]> granicus.if.org Git - libevent/commit
Refactor the callback part of an event into its own event_callback type
authorNick Mathewson <nickm@torproject.org>
Thu, 5 Apr 2012 16:38:18 +0000 (12:38 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 9 May 2012 16:05:53 +0000 (12:05 -0400)
commitcba59e53253bb396f192e40a002c6dd9835df51c
treeb59d187b50138dafed43778d5b6400d81f7c7dd5
parent981aa0efc98bb19e0c1ec0889046ac6df056441e
Refactor the callback part of an event into its own event_callback type

This shouldn't have any visible effect, but it's necessary or
advisible for a few changes and cleanups I would like to make,
including:
   * Replacing the deferred queue with a type that works more as if it
     were an event.
   * Introducing a useful "activate this on the next round through the
     event loop" state for events and deferreds.
   * Adding an "on until further notice" status for events, to allow a
     saner win32-hybrid approach.
   * Eventually, making all user callbacks first-class things with
     event-like semantics.
event-internal.h
event.c
include/event2/event_struct.h