• Rémi Denis-Courmont's avatar
    lib: merge both event manager locks · 0a222373
    Rémi Denis-Courmont authored
    The distinction was rather vain, as the inner lock was almost never
    held without the outer lock. The only case was adding an event callback
    (but _not_ removing one). On the other hand, the distinction required
    extra heap manipulations and memory copying for each event.
event.c 14.8 KB