Loading src/core/module/ThreadPool.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ namespace allpix { /** * @brief Erases the queue and release waiting threads on destruction */ ~SafeQueue(); ~SafeQueue() { invalidate(); }; /** * @brief Get the top value from the appropriate queue Loading src/core/module/ThreadPool.tpp +0 −2 Original line number Diff line number Diff line Loading @@ -16,8 +16,6 @@ namespace allpix { ThreadPool::SafeQueue<T>::SafeQueue(unsigned int max_standard_size, unsigned max_priority_size) : max_standard_size_(max_standard_size), max_priority_size_(max_priority_size) {} template <typename T> ThreadPool::SafeQueue<T>::~SafeQueue<T>() { invalidate(); } /* * Block until a value is available if the wait parameter is set to true. The wait exits when the queue is invalidated. */ Loading src/modules/GenericPropagation/GenericPropagationModule.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -377,7 +377,7 @@ void GenericPropagationModule::create_output_plots(uint64_t event_num, OutputPlo for(auto& [deposit, points] : output_plot_points) { auto diff = static_cast<unsigned long>( std::round((deposit.getGlobalTime() - start_time) / config_.get<long double>("output_plots_step"))); if(static_cast<long>(plot_idx) - static_cast<long>(diff) < 0) { if(plot_idx < diff) { min_idx_diff = std::min(min_idx_diff, diff - plot_idx); continue; } Loading Loading
src/core/module/ThreadPool.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -51,7 +51,7 @@ namespace allpix { /** * @brief Erases the queue and release waiting threads on destruction */ ~SafeQueue(); ~SafeQueue() { invalidate(); }; /** * @brief Get the top value from the appropriate queue Loading
src/core/module/ThreadPool.tpp +0 −2 Original line number Diff line number Diff line Loading @@ -16,8 +16,6 @@ namespace allpix { ThreadPool::SafeQueue<T>::SafeQueue(unsigned int max_standard_size, unsigned max_priority_size) : max_standard_size_(max_standard_size), max_priority_size_(max_priority_size) {} template <typename T> ThreadPool::SafeQueue<T>::~SafeQueue<T>() { invalidate(); } /* * Block until a value is available if the wait parameter is set to true. The wait exits when the queue is invalidated. */ Loading
src/modules/GenericPropagation/GenericPropagationModule.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -377,7 +377,7 @@ void GenericPropagationModule::create_output_plots(uint64_t event_num, OutputPlo for(auto& [deposit, points] : output_plot_points) { auto diff = static_cast<unsigned long>( std::round((deposit.getGlobalTime() - start_time) / config_.get<long double>("output_plots_step"))); if(static_cast<long>(plot_idx) - static_cast<long>(diff) < 0) { if(plot_idx < diff) { min_idx_diff = std::min(min_idx_diff, diff - plot_idx); continue; } Loading