summaryrefslogtreecommitdiffstats
path: root/src/output/Feedback.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-10 22:23:50 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-10 22:23:50 +0200
commitc5ddbfe33759dd80447c45513a05a4755797b05a (patch)
tree22229a36d5bf531099d30960e15501bd7e374b63 /src/output/Feedback.h
parentc125ae1f00fe8d8dbafce2f262ebaa8af515ac39 (diff)
downloaddabmod-c5ddbfe33759dd80447c45513a05a4755797b05a.tar.gz
dabmod-c5ddbfe33759dd80447c45513a05a4755797b05a.tar.bz2
dabmod-c5ddbfe33759dd80447c45513a05a4755797b05a.zip
Replace boost in output/Feedback
Diffstat (limited to 'src/output/Feedback.h')
-rw-r--r--src/output/Feedback.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/output/Feedback.h b/src/output/Feedback.h
index 2cad508..aef86b0 100644
--- a/src/output/Feedback.h
+++ b/src/output/Feedback.h
@@ -36,7 +36,9 @@ DESCRIPTION:
# include <config.h>
#endif
-#include <boost/thread.hpp>
+#include <thread>
+#include <condition_variable>
+#include <mutex>
#include <memory>
#include <string>
#include <atomic>
@@ -56,8 +58,8 @@ enum class BurstRequestState {
struct FeedbackBurstRequest {
// All fields in this struct are protected
- mutable boost::mutex mutex;
- boost::condition_variable mutex_notification;
+ mutable std::mutex mutex;
+ std::condition_variable mutex_notification;
BurstRequestState state = BurstRequestState::None;
@@ -102,8 +104,8 @@ class DPDFeedbackServer {
void ServeFeedbackThread(void);
void ServeFeedback(void);
- boost::thread rx_burst_thread;
- boost::thread burst_tcp_thread;
+ std::thread rx_burst_thread;
+ std::thread burst_tcp_thread;
FeedbackBurstRequest burstRequest;