It works but there is a basic misunderstanding of this:
chEvtBroadcastFlags(&es1, EVENT_MASK(0));
The second parameter is not the mask of the event, it is a mask of event-flags that is accumulated (ORed) into the listener. Note that there are two distinct types. If you don't need flags just pass zero as second parameter.
The difference between a mask-of-events and event-flags:
1) The mask of events is "local" to the thread, different threads can have a different meaning for each bit. Each event can listen to up 32 different sources but there can be more than 32 sources in the system.
2) The event flags are meaningful in the context of the event source, the flags represent additional info sent by the source to the listeners. For example, in the serial drivers are used for the line conditions: parity error, framing error etc.
I hope this makes it more clear, it is easy in reality but surprisingly hard to explain for some reason, I have yet to find the right formula for explanation

Giovanni