summaryrefslogtreecommitdiffstats
path: root/src/server/Worker.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Worker.hpp')
-rw-r--r--src/server/Worker.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/Worker.hpp b/src/server/Worker.hpp
index dd799174..540347df 100644
--- a/src/server/Worker.hpp
+++ b/src/server/Worker.hpp
@@ -44,7 +44,7 @@ public:
~Worker();
struct Schedule : public LV2Features::Feature {
- Schedule(bool sync) : synchronous(sync) {}
+ Schedule(bool sync) noexcept : synchronous(sync) {}
const char* uri() const override { return LV2_WORKER__schedule; }
@@ -63,13 +63,13 @@ private:
std::shared_ptr<Schedule> _schedule;
Log& _log;
- raul::Semaphore _sem;
+ raul::Semaphore _sem{0};
raul::RingBuffer _requests;
raul::RingBuffer _responses;
uint8_t* const _buffer;
const uint32_t _buffer_size;
std::unique_ptr<std::thread> _thread;
- bool _exit_flag;
+ bool _exit_flag{false};
bool _synchronous;
void run();