Skip to content

Draft: ci: Use native c11 threads on alpine/musl build

Yonggang Luo requested to merge lygstate/mesa:option_to_use_c11_threads into main
  • Add the capability to using c11 threads directly on linux platforms that comes with c library with c11 threads support(default still to pthreads)
  • using c11 threads directly can detect errors that mixed using function between c11 and posix: for exmaple
    • freedreno: Fixes error: passing argument 1 of ‘pthread_mutex_unlock’ from incompatible pointer type in tu_pipeline.c
    • ../../src/vulkan/wsi/wsi_common_display.c:2908:15: error: passing argument 1 of ‘mtx_unlock’ from incompatible pointer type [-Werror=incompatible-pointer-types]

depends on !21284 (merged)

Maybe this is a base for port !14365 (merged) to windows

Edited by Yonggang Luo

Merge request reports