From 4e091de36b7fd4fb14b865db7f18109475cb4628 Mon Sep 17 00:00:00 2001 From: Djordje Nedic Date: Thu, 7 Dec 2023 14:24:42 +0100 Subject: [PATCH] feat: Release 2.0.5 --- CHANGELOG.md | 4 ++++ CMakeLists.txt | 2 +- lockfree/lockfree.hpp | 6 +++--- lockfree/mpmc/priority_queue.hpp | 6 +++--- lockfree/mpmc/priority_queue_impl.hpp | 6 +++--- lockfree/mpmc/queue.hpp | 6 +++--- lockfree/mpmc/queue_impl.hpp | 6 +++--- lockfree/spsc/bipartite_buf.hpp | 6 +++--- lockfree/spsc/bipartite_buf_impl.hpp | 6 +++--- lockfree/spsc/priority_queue.hpp | 6 +++--- lockfree/spsc/priority_queue_impl.hpp | 6 +++--- lockfree/spsc/queue.hpp | 6 +++--- lockfree/spsc/queue_impl.hpp | 6 +++--- lockfree/spsc/ring_buf.hpp | 6 +++--- lockfree/spsc/ring_buf_impl.hpp | 6 +++--- 15 files changed, 44 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bde057..1b5a1d1 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.0.5 + +- A linear space calculation bug in the [Bipartite Buffer](docs/spsc/bipartite_buf.md) that could cause data corruption in builds without asserts enabled was fixed + ## 2.0.4 - Added the ability to configure the library through CMake diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c5024c..79b850d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.16) project(lockfree - VERSION 2.0.4 + VERSION 2.0.5 LANGUAGES CXX ) diff --git a/lockfree/lockfree.hpp b/lockfree/lockfree.hpp index 1fbbb81..63582c8 100644 --- a/lockfree/lockfree.hpp +++ b/lockfree/lockfree.hpp @@ -3,8 +3,8 @@ * @brief A collection of lock free data structures written in * standard c++11 suitable for all systems, from low-end * microcontrollers to HPC machines. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -36,7 +36,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ #ifndef LOCKFREE_HPP diff --git a/lockfree/mpmc/priority_queue.hpp b/lockfree/mpmc/priority_queue.hpp index a5d96ac..3351d24 100644 --- a/lockfree/mpmc/priority_queue.hpp +++ b/lockfree/mpmc/priority_queue.hpp @@ -3,8 +3,8 @@ * @brief A priority queue implementation written in standard * c++11 suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for all scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -36,7 +36,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/mpmc/priority_queue_impl.hpp b/lockfree/mpmc/priority_queue_impl.hpp index fef1c01..c61b0fe 100644 --- a/lockfree/mpmc/priority_queue_impl.hpp +++ b/lockfree/mpmc/priority_queue_impl.hpp @@ -3,8 +3,8 @@ * @brief A priority queue implementation written in standard * c++11 suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for all scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -36,7 +36,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/mpmc/queue.hpp b/lockfree/mpmc/queue.hpp index f92ab3d..0864905 100755 --- a/lockfree/mpmc/queue.hpp +++ b/lockfree/mpmc/queue.hpp @@ -3,8 +3,8 @@ * @brief A queue implementation written in standard c++11 * suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for all scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -36,7 +36,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/mpmc/queue_impl.hpp b/lockfree/mpmc/queue_impl.hpp index 9504a50..40cebd4 100644 --- a/lockfree/mpmc/queue_impl.hpp +++ b/lockfree/mpmc/queue_impl.hpp @@ -3,8 +3,8 @@ * @brief A queue implementation written in standard c++11 * suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for all scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -36,7 +36,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ namespace lockfree { diff --git a/lockfree/spsc/bipartite_buf.hpp b/lockfree/spsc/bipartite_buf.hpp index 0ea4f66..40acb28 100755 --- a/lockfree/spsc/bipartite_buf.hpp +++ b/lockfree/spsc/bipartite_buf.hpp @@ -4,8 +4,8 @@ * standard c++11 suitable for all systems, from low-end * microcontrollers to HPC machines. * Lock-free for single consumer single producer scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/bipartite_buf_impl.hpp b/lockfree/spsc/bipartite_buf_impl.hpp index 28fbd20..5143870 100644 --- a/lockfree/spsc/bipartite_buf_impl.hpp +++ b/lockfree/spsc/bipartite_buf_impl.hpp @@ -4,8 +4,8 @@ * c++11 suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for single consumer single * producer scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/priority_queue.hpp b/lockfree/spsc/priority_queue.hpp index 6105db8..136e2a7 100644 --- a/lockfree/spsc/priority_queue.hpp +++ b/lockfree/spsc/priority_queue.hpp @@ -4,8 +4,8 @@ * c++11 suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for single consumer single * producer scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/priority_queue_impl.hpp b/lockfree/spsc/priority_queue_impl.hpp index 68d0c22..b7b3f40 100644 --- a/lockfree/spsc/priority_queue_impl.hpp +++ b/lockfree/spsc/priority_queue_impl.hpp @@ -4,8 +4,8 @@ * c++11 suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for single consumer single * producer scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/queue.hpp b/lockfree/spsc/queue.hpp index a965a1c..c809c85 100755 --- a/lockfree/spsc/queue.hpp +++ b/lockfree/spsc/queue.hpp @@ -4,8 +4,8 @@ * suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for single consumer single * producer scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/queue_impl.hpp b/lockfree/spsc/queue_impl.hpp index acde09e..6d3a869 100644 --- a/lockfree/spsc/queue_impl.hpp +++ b/lockfree/spsc/queue_impl.hpp @@ -4,8 +4,8 @@ * suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for single consumer single * producer scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ namespace lockfree { diff --git a/lockfree/spsc/ring_buf.hpp b/lockfree/spsc/ring_buf.hpp index c5c5df0..3fa7a16 100755 --- a/lockfree/spsc/ring_buf.hpp +++ b/lockfree/spsc/ring_buf.hpp @@ -4,8 +4,8 @@ * c++11 suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for single consumer single * producer scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/ring_buf_impl.hpp b/lockfree/spsc/ring_buf_impl.hpp index 801fa3c..3768349 100644 --- a/lockfree/spsc/ring_buf_impl.hpp +++ b/lockfree/spsc/ring_buf_impl.hpp @@ -4,8 +4,8 @@ * c++11 suitable for both low-end microcontrollers all the way * to HPC machines. Lock-free for single consumer single * producer scenarios. - * @version 2.0.4 - * @date 10. August 2023 + * @version 2.0.5 + * @date 7. December 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.4 + * Version: v2.0.5 **************************************************************/ namespace lockfree {