[Openmp-commits] [PATCH] D59451: Fix gettid warnings and one test on FreeBSD
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sun Mar 17 04:42:12 PDT 2019
Hahnfeld added a comment.
In D59451#1432389 <https://reviews.llvm.org/D59451#1432389>, @krytarowski wrote:
> I'm not sure about OMP specifics, but in C++ threads we are allowed to use threading routines but in order to make them functional we must link final executable with `libpthread`.
>
> On NetBSD threading is in a separate library out of libc.
So if a developer uses a feature from stdlib, they need to manually link libpthread? I always thought that the C++ standard guarantees you a fully working stdlib out of the box, but might be wrong here.
Repository:
rOMP OpenMP
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59451/new/
https://reviews.llvm.org/D59451
More information about the Openmp-commits
mailing list