1 diff -Naur openturns-1.20.1_ref/openturns-1.20.1/lib/include/pthread_win32/pthread.h openturns-1.20.1_dev/openturns-1.20.1/lib/include/pthread_win32/pthread.h
2 --- openturns-1.20.1_ref/openturns-1.20.1/lib/include/pthread_win32/pthread.h 2023-04-07 09:47:43.000000000 +0200
3 +++ openturns-1.20.1_dev/openturns-1.20.1/lib/include/pthread_win32/pthread.h 2023-05-21 18:06:49.000000000 +0200
5 static __inline int __pthread_mutex_alloc_concurrently (pthread_mutex_t *mutex) {
6 HANDLE mutex_init_mutex;
7 /* Get access to one global named mutex to serialize mutex initialization */
8 - winPthreadAssertWindows((mutex_init_mutex = CreateMutex(NULL, FALSE, "StarPU mutex init")));
9 + winPthreadAssertWindows((mutex_init_mutex = CreateMutex(NULL, FALSE, NULL)));
10 winPthreadAssertPthread(pthread_mutex_lock(&mutex_init_mutex));
11 /* Now we are the one that can initialize it */