add event_barrier