set parameters for benchmarking
now waiting for worker threads using a spin-lock