diff options
author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2022-07-27 23:31:41 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-08-02 07:01:54 +0200 |
commit | 83a24ad638a2c3ff628fe109391586be9bd3a45d (patch) | |
tree | 3ac77d8c6876200075bd6c68eebc6f4098df1422 /src/common/thread.h | |
parent | Rework multi-core vsync (diff) | |
download | yuzu-83a24ad638a2c3ff628fe109391586be9bd3a45d.tar yuzu-83a24ad638a2c3ff628fe109391586be9bd3a45d.tar.gz yuzu-83a24ad638a2c3ff628fe109391586be9bd3a45d.tar.bz2 yuzu-83a24ad638a2c3ff628fe109391586be9bd3a45d.tar.lz yuzu-83a24ad638a2c3ff628fe109391586be9bd3a45d.tar.xz yuzu-83a24ad638a2c3ff628fe109391586be9bd3a45d.tar.zst yuzu-83a24ad638a2c3ff628fe109391586be9bd3a45d.zip |
Diffstat (limited to '')
-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; |