adapted the pthread-compatible parameters passed to clang