
When using pthread_once with destructors they are only called, if each thread (including the main thread) is exited with pthread_exit. Introducing winpr_exit as a wrapper for that purpose.
When using pthread_once with destructors they are only called, if each thread (including the main thread) is exited with pthread_exit. Introducing winpr_exit as a wrapper for that purpose.