Преглед на файлове

Use GetCurrentThreadId instead of GetCurrentThread since the latter only returns a pseudo-handle.

Samuel Thibault преди 13 години
родител
ревизия
aecf2f8304
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/common/fxt.c

+ 1 - 1
src/common/fxt.c

@@ -53,7 +53,7 @@ long _starpu_gettid()
 	thr_self(&tid);
 	return tid;
 #elif defined(__MINGW32__)
-	return (long) GetCurrentThread();
+	return (long) GetCurrentThreadId();
 #else
 	return (long) pthread_self();
 #endif