Rename "writing" to "saving" from ZmqRecvModule

The module should not have a notion of writing - but saving/discarding flag is
very useful.
This commit is contained in:
2020-04-06 13:18:15 +02:00
parent 2cb6dac8ba
commit d6fabb7846
3 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ class ZmqRecvModule
RingBuffer& ring_buffer_;
const header_map& header_values_;
std::atomic_bool is_receiving_;
std::atomic_bool is_writing_;
std::atomic_bool is_saving_;
std::vector<std::thread> receiving_threads_;
protected:
@@ -28,8 +28,8 @@ public:
const uint8_t n_receiving_threads);
void stop_recv();
void start_writing();
void stop_writing();
void start_saving();
void stop_saving();
};
#endif