… | |
… | |
9 | break the other) |
9 | break the other) |
10 | |
10 | |
11 | - fork() is supported and can be handled |
11 | - fork() is supported and can be handled |
12 | (there is no way to recover from a fork when libevent is active) |
12 | (there is no way to recover from a fork when libevent is active) |
13 | |
13 | |
14 | - timers are handled as a priority queue |
14 | - timers are handled as a priority queue (important operations are O(1)) |
15 | (libevent uses a less efficient red-black tree) |
15 | (libevent uses a much less efficient but more complex red-black tree) |
16 | |
16 | |
17 | - supports absolute (wallclock-based) timers in addition to relative ones, |
17 | - supports absolute (wallclock-based) timers in addition to relative ones, |
18 | i.e. can schedule timers to occur after n seconds, or at a specific time. |
18 | i.e. can schedule timers to occur after n seconds, or at a specific time. |
19 | |
19 | |
20 | - timers can be repeating (both absolute and relative ones) |
20 | - timers can be repeating (both absolute and relative ones) |