소스 검색

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