printf_verbose("thread %-6s, thread id : %lx, tid %lu\n",
"main", pthread_self(), (unsigned long)gettid());
printf_verbose("thread %-6s, thread id : %lx, tid %lu\n",
"main", pthread_self(), (unsigned long)gettid());
if (use_affinity
&& sched_setaffinity(0, sizeof(affinity), &affinity) < 0) {
perror("sched_setaffinity");
if (use_affinity
&& sched_setaffinity(0, sizeof(affinity), &affinity) < 0) {
perror("sched_setaffinity");