NULL is not necessarily a valid pthread_t value. Compilers increasingly enforce C type safety, and these configure checks may fail incorrectly with such compilers. POSIX guarantees that pthread_self() returns a valid pthread_t value, so use that instead.
NULL is not necessarily a valid
pthread_t
value. Compilers increasingly enforce C type safety, and these configure checks may fail incorrectly with such compilers. POSIX guarantees thatpthread_self()
returns a validpthread_t
value, so use that instead.Related to: