[PATCH v11 4/5] server: Introduce a new event sync object.