SCLogWarning(SC_ERR_THREAD_INIT, "Unable to set thread name");
}
+ if (tv_local->thread_setup_flags != 0)
+ TmThreadSetupOptions(tv_local);
+
/* Set the threads capability */
tv_local->cap_flags = 0;
SCDropCaps(tv_local);
+
if (sc_perf_op_ctx == NULL) {
SCLogError(SC_ERR_PERF_STATS_NOT_INIT, "Perf Counter API not init"
"SCPerfInitCounterApi() has to be called first");
SCLogWarning(SC_ERR_THREAD_INIT, "Unable to set thread name");
}
+ if (tv_local->thread_setup_flags != 0)
+ TmThreadSetupOptions(tv_local);
+
/* Set the threads capability */
tv_local->cap_flags = 0;
/* block usr2. usr2 to be handled by the main thread only */
UtilSignalBlock(SIGUSR2);
+ if (tv_local->thread_setup_flags != 0)
+ TmThreadSetupOptions(tv_local);
+
/* release TmThreadSpawn */
TmThreadsSetFlag(tv_local, THV_INIT_DONE);
SC_PERF_TYPE_UINT64,
"NULL");
+ if (th_v->thread_setup_flags != 0)
+ TmThreadSetupOptions(th_v);
+
memset(&ts, 0, sizeof(ts));
FlowForceReassemblySetup();