diff options
author | chai <chaifix@163.com> | 2021-10-29 18:48:10 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-29 18:48:10 +0800 |
commit | 2381fe08be1a0c99d9541761b85064b8ece3f253 (patch) | |
tree | 5f04464b7c2ebf3d718b61e959d23f903dd4c6b0 /Editor | |
parent | 796b4b05ec62eb5d58a634854998f485072e8a2b (diff) |
+md5
Diffstat (limited to 'Editor')
-rw-r--r-- | Editor/Win/Win.h | 7 |
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(); + } |