affinity: add log message

pull/54/merge
Eric Leblond 13 years ago committed by Victor Julien
parent eb5dbc305f
commit efc3faaa0a

@ -1271,6 +1271,9 @@ TmEcode TmThreadSetupOptions(ThreadVars *tv)
} else { } else {
SetCPUAffinitySet(&taf->cpu_set); SetCPUAffinitySet(&taf->cpu_set);
tv->thread_priority = taf->prio; tv->thread_priority = taf->prio;
SCLogInfo("Setting prio %d for \"%s\" thread "
", thread id %lu", tv->thread_priority,
tv->name, SCGetThreadIdLong());
} }
TmThreadSetPrio(tv); TmThreadSetPrio(tv);
} }

Loading…
Cancel
Save