Libevent - event notification