diff options
author | bunnei <bunneidev@gmail.com> | 2022-09-17 11:10:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-17 11:10:54 -0700 |
commit | 9c32f29af18f5412ea4ba9f15fe0da3805e0d858 (patch) | |
tree | 63f5b2a5b5ad49179067d01e34c11fb2a7510bd8 /src/common/thread.h | |
parent | 4a7a7713401983f94b6c07fa07cbbbfa4025556c (diff) | |
parent | 606cdb17d3b8f3b4898c1f0a87691058074ad11a (diff) |
Merge pull request #8650 from Kelebek1/vsync
[Coretiming/NVNFlinger] Improve multi-core vsync timing, and core timing accuracy
Diffstat (limited to 'src/common/thread.h')
-rw-r--r-- | src/common/thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/thread.h b/src/common/thread.h index 1552f58e0..e17a7850f 100644 --- a/src/common/thread.h +++ b/src/common/thread.h @@ -54,6 +54,10 @@ public: is_set = false; } + [[nodiscard]] bool IsSet() { + return is_set; + } + private: std::condition_variable condvar; std::mutex mutex; |