[openmp] [test] Use omp_testsuite.h instead of directly including pthread.h
authorMartin Storsjö <martin@martin.st>
Wed, 2 Nov 2022 13:35:50 +0000 (13:35 +0000)
committerMartin Storsjö <martin@martin.st>
Fri, 11 Nov 2022 11:54:52 +0000 (13:54 +0200)
commit323b4309e2418a8662e814b60cd32090b4543337
tree9aceab3d4798bddb9aeafda81dc4f0397c3ef90c
parent4bf5893d1ab6ec733f7b0067c69779f5d3843046
[openmp] [test] Use omp_testsuite.h instead of directly including pthread.h

OpenMP tests that use pthread functions include this header instead.
On Unix systems, this header includes pthread.h, while it provides
minimal implementations of the used pthread functions for Windows.

Differential Revision: https://reviews.llvm.org/D137746
openmp/runtime/test/tasking/bug_nested_proxy_task.c
openmp/runtime/test/tasking/bug_proxy_task_dep_waiting.c