This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp] Fix omp single
On September 28, 2005 05:28, Jakub Jelinek wrote:
> I don't think the GOMP_barrier () there is needed.
> GOMP_single_copy_start will return immediately only for one of
> the threads in the team, all others will be waiting on semaphore
> until the one chosen thread calls GOMP_single_copy_end and
> signals other threads in the team.
>
There isn't a barrier at the end of thread bodies as I thought there
was.