The calls to XBroadcaster::lockBroadcast() and
XBroadcaster::unlockBroadcasts() may be
nested and even overlapping, but they must be in pairs. While
there is at least one lock remaining, no broadcasts are
sent to registered listeners.
The calls to XBroadcaster::lockBroadcast() and
XBroadcaster::unlockBroadcasts() may be
nested and even overlapping, but they must be in pairs. While
there is at least one lock remaining, no broadcasts are
sent to registered listeners.
Pending broadcasts will be sent immediately after the last
call to XBroadcaster::lockBroadcast() is matched
by a call to XBroadcaster::unlockBroadcasts().
An implementation can decide to broadcast all pending notification in
order or batch them in single broadcasts.