summaryrefslogtreecommitdiff
path: root/src/common/thread.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2016-09-18 18:01:46 -0700
committerGravatar Yuri Kunde Schlesner2016-09-18 21:14:25 -0700
commit396a8d91a4423d9c793eeff0798d544613647511 (patch)
treee0203961233db1ffcbbca2e15154d71d142c5822 /src/common/thread.h
parentTweak formatting settings (diff)
downloadyuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.gz
yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.xz
yuzu-396a8d91a4423d9c793eeff0798d544613647511.zip
Manually tweak source formatting and then re-run clang-format
Diffstat (limited to 'src/common/thread.h')
-rw-r--r--src/common/thread.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/thread.h b/src/common/thread.h
index b189dc764..499c151c2 100644
--- a/src/common/thread.h
+++ b/src/common/thread.h
@@ -39,8 +39,7 @@ void SetCurrentThreadAffinity(u32 mask);
39 39
40class Event { 40class Event {
41public: 41public:
42 Event() : is_set(false) { 42 Event() : is_set(false) {}
43 }
44 43
45 void Set() { 44 void Set() {
46 std::lock_guard<std::mutex> lk(mutex); 45 std::lock_guard<std::mutex> lk(mutex);
@@ -71,8 +70,7 @@ private:
71 70
72class Barrier { 71class Barrier {
73public: 72public:
74 explicit Barrier(size_t count_) : count(count_), waiting(0), generation(0) { 73 explicit Barrier(size_t count_) : count(count_), waiting(0), generation(0) {}
75 }
76 74
77 /// Blocks until all "count" threads have called Sync() 75 /// Blocks until all "count" threads have called Sync()
78 void Sync() { 76 void Sync() {