浏览代码

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