vkd3d: Add Win32 PTHREAD_MUTEX_INITIALIZER.

Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
This commit is contained in:
Georg Lehmann 2020-11-18 16:33:00 +01:00 committed by Joshie
parent d0328e8760
commit 24100cac07
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ typedef struct pthread_mutex
SRWLOCK lock;
} pthread_mutex_t;
#define PTHREAD_MUTEX_INITIALIZER {SRWLOCK_INIT}
/* pthread_cond_t is not copyable, so embed CV inline. */
typedef struct pthread_cond
{