threads: remove unused flag

pull/13125/head
Victor Julien 4 months ago committed by Victor Julien
parent 22abad746a
commit b42eea67d5

@ -33,7 +33,7 @@
struct TmSlot_;
/** Thread flags set and read by threads to control the threads */
#define THV_USE BIT_U32(0) /** thread is in use */
// bit 0 vacant
#define THV_INIT_DONE BIT_U32(1) /** thread initialization done */
#define THV_PAUSE BIT_U32(2) /** signal thread to pause itself */
#define THV_PAUSED BIT_U32(3) /** the thread is paused atm */

@ -962,7 +962,6 @@ ThreadVars *TmThreadCreate(const char *name, const char *inq_name, const char *i
/* default state for every newly created thread */
TmThreadsSetFlag(tv, THV_PAUSE);
TmThreadsSetFlag(tv, THV_USE);
/* set the incoming queue */
if (inq_name != NULL && strcmp(inq_name, "packetpool") != 0) {

Loading…
Cancel
Save