Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion arbiter/util/http.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ class ARBITER_DLL Pool
std::vector<Curl> m_curls;
std::thread m_runner;
std::size_t m_retry;
std::atomic<bool> m_stop;
// The explicit initialization is necessary on Linux for C++17.
// See the "Note" here: https://en.cppreference.com/cpp/atomic/atomic/atomic
std::atomic<bool> m_stop = false;

std::mutex m_mutex;
// Provide notification between a thread waiting on a Curl and one
Expand Down
Loading