[Omp] one thread stop another thread

andrew wang mcwang88 at hotmail.com
Sun Dec 12 18:11:05 PST 2004


Hello,

I have a general issue regarding using OpenMP. I have put two loops in two 
differrent threads. In one thread, once I reach my goal, I want to break 
both threads. How could I do that in OpenMP?

I  notice "omp for" can not allow break inside, Is it a limitation?

Thanks in advance!
Andrew






More information about the Omp mailing list