We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca3bd59 commit bb35354Copy full SHA for bb35354
1 file changed
quant.h
@@ -111,6 +111,7 @@ static inline int pthread_create(pthread_t* t, const void* a, void*(*fn)(void*),
111
static inline int pthread_join(pthread_t t, void** r) {
112
(void)r; WaitForSingleObject(t, INFINITE); CloseHandle(t); return 0;
113
}
114
+#define __thread __declspec(thread)
115
#else
116
#include <pthread.h>
117
#endif
0 commit comments