summaryrefslogtreecommitdiff
path: root/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'mutex.h')
-rw-r--r--mutex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mutex.h b/mutex.h
index cb46aa7..69ae064 100644
--- a/mutex.h
+++ b/mutex.h
@@ -33,9 +33,9 @@ typedef CRITICAL_SECTION mutex_t;
typedef CONDITION_VARIABLE condition_t;
#define CONDITION_INIT(cond) InitializeConditionVariable(&cond)
#define CONDITION_WAIT(cond, mutex) \
- SleepConditionVariableCS(&cond, &mutex, INFINTE)
+ SleepConditionVariableCS(&cond, &mutex, INFINITE)
#define CONDITION_NOTIFY(cond) WakeConditionVariable(&cond)
-typedef uint32_t thread_t;
+typedef DWORD thread_t;
typedef HANDLE thread_status_t;
#define THREAD_CREATE(tid, func, arg) \
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)func, arg, 0, &tid)