Specify the type in pthread initializers as well.
Otherwise it would be possible to do e.g. `pthread_mutex_t mutex = PTHREAD_ONCE_INITIALIZER;```, which would expand to ```pthread_mutex_t mutex = {0};```.
Loading
Please register or sign in to comment