+2013-09-17 Jacek Caban <jacek@codeweavers.com>
+
+ * config/i386/gthr-win32.c: CreateSemaphoreW instead of
+ CreateSemaphoreA.
+ * config/i386/gthr-win32.h: Likewise.
+
2013-09-16 DJ Delorie <dj@redhat.com>
* config/rl78/vregs.h: Add G10 register definitions.
__gthr_win32_mutex_init_function (__gthread_mutex_t *mutex)
{
mutex->counter = -1;
- mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL);
+ mutex->sema = CreateSemaphoreW (NULL, 0, 65535, NULL);
}
void
mutex->counter = -1;
mutex->depth = 0;
mutex->owner = 0;
- mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL);
+ mutex->sema = CreateSemaphoreW (NULL, 0, 65535, NULL);
}
int
__gthread_mutex_init_function (__gthread_mutex_t *__mutex)
{
__mutex->counter = -1;
- __mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL);
+ __mutex->sema = CreateSemaphoreW (NULL, 0, 65535, NULL);
}
static inline void
__mutex->counter = -1;
__mutex->depth = 0;
__mutex->owner = 0;
- __mutex->sema = CreateSemaphore (NULL, 0, 65535, NULL);
+ __mutex->sema = CreateSemaphoreW (NULL, 0, 65535, NULL);
}
static inline int