@ -401,7 +401,7 @@ void *TmThreadsSlot1(void *td)
/* output the packet */
tv - > tmqh_out ( tv , p ) ;
}
while ( s - > slot_post_pq . top ! = NULL ) {
/* handle new packets from this func */
SCMutexLock ( & s - > slot_post_pq . mutex_q ) ;
@ -411,7 +411,6 @@ void *TmThreadsSlot1(void *td)
tv - > tmqh_out ( tv , extra_p ) ;
}
}
}
if ( TmThreadsCheckFlag ( tv , THV_KILL ) ) {
SCPerfUpdateCounterArray ( tv - > sc_perf_pca , & tv - > sc_perf_pctx , 0 ) ;
@ -663,6 +662,7 @@ void *TmThreadsSlotVar(void *td)
/* output the packet */
tv - > tmqh_out ( tv , p ) ;
} /* if (p != NULL) */
/* now handle the post_pq packets */
TmSlot * slot ;
for ( slot = s ; slot ! = NULL ; slot = slot - > slot_next ) {
@ -685,7 +685,6 @@ void *TmThreadsSlotVar(void *td)
tv - > tmqh_out ( tv , extra_p ) ;
} /* while (slot->slot_post_pq.top != NULL) */
} /* for (slot = s; slot != NULL; slot = slot->slot_next) */
} /* if (p != NULL) */
if ( TmThreadsCheckFlag ( tv , THV_KILL ) ) {
run = 0 ;