summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx
diff options
context:
space:
mode:
authorCristian Morales Vega <cristian@samknows.com>2019-11-16 04:27:14 (GMT)
committerBrad King <brad.king@kitware.com>2019-12-11 14:26:39 (GMT)
commitb328cbaadb8b8d81a6d24d4ea071a8ba98a16e00 (patch)
tree6ee13dcb4e020080cb85bab9d26f772c139fdb61 /Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx
parent25b7456f0e2301484ab74679886d006cf403b4b1 (diff)
downloadCMake-b328cbaadb8b8d81a6d24d4ea071a8ba98a16e00.zip
CMake-b328cbaadb8b8d81a6d24d4ea071a8ba98a16e00.tar.gz
CMake-b328cbaadb8b8d81a6d24d4ea071a8ba98a16e00.tar.bz2
FindThreads: Add pthread_cancel to program to test for pthreads in libc
When using ThreadSanitizer our existing CMAKE_HAVE_LIBC_PTHREAD test program links using symbols from the tsan library. Among the symbols not provided by that library, `pthread_cancel()` seems to be the less risky symbol to add to the check. Fixes: #19981
Diffstat (limited to 'Help/guide/tutorial/Step10/MathFunctions/MathFunctions.cxx')
0 files changed, 0 insertions, 0 deletions