summaryrefslogtreecommitdiff
path: root/Editor/Win/Win.h
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/Win/Win.h')
-rw-r--r--Editor/Win/Win.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Editor/Win/Win.h b/Editor/Win/Win.h
index cbbba4c..8d7d85d 100644
--- a/Editor/Win/Win.h
+++ b/Editor/Win/Win.h
@@ -11,4 +11,11 @@ namespace Win
std::string GetCurrentWorkingDirectory();
void SetDllSearchDirectory(std::string path);
+ // 主线程
+ HANDLE GetMainThread();
+ // 当前执行的线程
+ HANDLE GetCurrentThread();
+ // 当前的执行是否在主线程
+ bool IsInMainThread();
+
}