Forráskód Böngészése

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

Samuel Thibault 13 éve
szülő
commit
aecf2f8304
1 módosított fájl, 1 hozzáadás és 1 törlés
  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