Updated alltypes.h.in and added sem.h.  This change cleared the following errors:

      src/functional/pthread_mutex-static.exe

      src/functional/pthread_mutex.exe

      src/functional/pthread_mutex_pi-static.exe

      src/functional/pthread_mutex_pi.exe

      src/functional/sem_init-static.exe

      src/functional/sem_init.exe

      src/regression/pthread_cond-smasher-static.exe

      src/regression/pthread_cond-smasher.exe

      src/regression/pthread_cond_wait-cancel_ignored-static.exe

      src/regression/pthread_cond_wait-cancel_ignored.exe

      src/regression/pthread_once-deadlock-static.exe

 

The patch is here: https://github.com/quic/musl/commit/ca20acd472a8e9e58e584d51c4cd00ced6f37087

 

I will continue to examine the issues and follow up.

 

Thanks,