pthreads version complete; simple cmd line