title: Is there a way force a program to use only 1 thread?
body: <p>I am benchmarking against an annoying piece of cpp program on linux. The program is a mess and complicated as hell! It automatically does multi-threading, and I wonder if there is any way to force by calling it via something, i.e. taskset, etc to use only 1 thread.</p>
  
  <p><strong>Edit</strong>: I have tried setting "taskset 01 program arg1 ..." but it doesn't work. I just saw the program using 100 threads! </p>