cmake HAVE_THREADS_FUN examples

baresip/re cmake/re-config.cmake :80

check_function_exists(thrd_create HAVE_THREADS_FUN)