Run post-event-queue filters for events

This commit is contained in:
Ralph Lange
2012-04-27 13:21:56 -04:00
committed by Michael Davidsaver
parent f806551fe3
commit 0a6ca6011a

View File

@@ -901,6 +901,11 @@ static int event_read ( struct event_que *ev_que )
*/
pevent->callBackInProgress = TRUE;
UNLOCKEVQUE (ev_que)
/* Run post-event-queue filter chain */
if (ellCount(&pevent->chan->post_chain)) {
dbChannelRunPostChain(pevent->chan, pfl);
}
/* Issue user callback */
( *user_sub ) ( pevent->user_arg, pevent->chan,
ev_que->evque[ev_que->getix] != EVENTQEMPTY, pfl );
LOCKEVQUE (ev_que)