This is an archive of the discontinued LLVM Phabricator instance.

[openmp] [test] Use omp_testsuite.h instead of directly including pthread.h
ClosedPublic

Authored by mstorsjo on Nov 9 2022, 2:27 PM.

Details

Summary

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.

Diff Detail

Event Timeline

mstorsjo created this revision.Nov 9 2022, 2:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2022, 2:27 PM
mstorsjo requested review of this revision.Nov 9 2022, 2:27 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: sstefan1. · View Herald Transcript
natgla accepted this revision.Nov 10 2022, 10:00 PM
This revision is now accepted and ready to land.Nov 10 2022, 10:00 PM