[PATCH 4/5] server: Rename "pmask" to "pending_events".