title: How to spawn threads once with openmp
body: <p>I am using openmp in my program, but instead of speeding up things its slowing down. My guess is that its because it spawns thread everytime in the loop openmp is used. Is there way to spawn threads once in the program.</p>