Skip to content

FindThreads: Replace the pthread symbol checking in libc

Jerry requested to merge JerryShih/cmake:update-find-thread-for-asan into master

With asan build, we will have the pthread_create() symbol in libc. However, libasan doesn't have full pthread implementation. We can't assume that we have the pthread implementation in libc using pthread_create() symbol. Replace the pthread_create() with pthread_key_create() as a quick fix.

Topic-rename: FindThreads-asan

Edited by Brad King

Merge request reports