* Note that there is some thread synchronization between this
* function and SuricataShutdown such that they must be run
* concurrently at this time before either will exit. */
- SCTmThreadsSlotPktAcqLoopFinish(tv);
+ SCTmThreadsSlotPacketLoopFinish(tv);
SCLogNotice("Worker thread exiting");
pthread_exit(NULL);
SCLogNotice("Shutting down");
/* Note that there is some thread synchronization between this
- * function and SCTmThreadsSlotPktAcqLoopFinish that require them
+ * function and SCTmThreadsSlotPacketLoopFinish that require them
* to be run concurrently at this time. */
SuricataShutdown();
GlobalsDestroy();
return false;
}
-bool SCTmThreadsSlotPktAcqLoopFinish(ThreadVars *tv)
+bool SCTmThreadsSlotPacketLoopFinish(ThreadVars *tv)
{
TmSlot *s = tv->tm_slots;
bool rc = true;
run = false;
}
}
- if (!SCTmThreadsSlotPktAcqLoopFinish(tv)) {
+ if (!SCTmThreadsSlotPacketLoopFinish(tv)) {
goto error;
}
run = false;
}
}
- if (!SCTmThreadsSlotPktAcqLoopFinish(tv)) {
+ if (!SCTmThreadsSlotPacketLoopFinish(tv)) {
goto error;
}
StatsSyncCounters(tv);
SCTime_t TmThreadsGetThreadTime(const int idx);
uint16_t TmThreadsGetWorkerThreadMax(void);
bool TmThreadsTimeSubsysIsReady(void);
-bool SCTmThreadsSlotPktAcqLoopFinish(ThreadVars *tv);
+bool SCTmThreadsSlotPacketLoopFinish(ThreadVars *tv);
/** \brief Wait for a thread to become unpaused.
*