llvm-project/openmp/runtime/test/worksharing/sections
Jonathan Peyton fdcca8cd55 Fix omp_sections_nowait.c test to address Bugzilla Bug 28336
This rewrite of the omp_sections_nowait.c test file causes it to hang if the
nowait is not respected. If the nowait isn't respected, the lone thread which
can escape the first sections construct will just sleep at a barrier which
shouldn't exist. All reliance on timers is taken out. For good measure, the test
makes sure that all eight sections are executed as well. The test should take no
longer than a few seconds on any modern machine.

Differential Revision: http://reviews.llvm.org/D21842

llvm-svn: 274151
2016-06-29 19:46:52 +00:00
..
omp_parallel_sections_firstprivate.c
omp_parallel_sections_lastprivate.c
omp_parallel_sections_private.c
omp_parallel_sections_reduction.c
omp_section_firstprivate.c
omp_section_lastprivate.c
omp_section_private.c
omp_sections_nowait.c Fix omp_sections_nowait.c test to address Bugzilla Bug 28336 2016-06-29 19:46:52 +00:00
omp_sections_reduction.c