lib: merge both event manager locks
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.
Showing with 14 additions and 26 deletions