V1.3 compiled: added synchronization to accessing event_t