diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f0f87a..e2ef2bb 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 2.0.1 + +- Added asserts in the [Bipartite Buffer](docs/spsc/bipartite_buf.md) to protect against buffer overruns +- Various README improvements + ## 2.0.0 - Added multi-producer multi-consumer [Queue](docs/mpmc/queue.md) and [Priority Queue](docs/mpmc/priority_queue.md) data structures diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b85b2b..1013a4a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.16) project(lockfree - VERSION 2.0.0 + VERSION 2.0.1 LANGUAGES CXX ) diff --git a/lockfree/lockfree.hpp b/lockfree/lockfree.hpp index 0147f7b..0ede3d2 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -36,7 +36,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /************************** DEFINE ****************************/ diff --git a/lockfree/mpmc/priority_queue.hpp b/lockfree/mpmc/priority_queue.hpp index 4573849..893e10d 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -36,7 +36,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/mpmc/priority_queue_impl.hpp b/lockfree/mpmc/priority_queue_impl.hpp index 148e04c..efbae74 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -36,7 +36,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/mpmc/queue.hpp b/lockfree/mpmc/queue.hpp index 6b21f2f..4695923 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -36,7 +36,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/mpmc/queue_impl.hpp b/lockfree/mpmc/queue_impl.hpp index c68032e..5d561fd 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -36,7 +36,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /********************** PUBLIC METHODS ************************/ diff --git a/lockfree/spsc/bipartite_buf.hpp b/lockfree/spsc/bipartite_buf.hpp index 0af2bea..0476baf 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/bipartite_buf_impl.hpp b/lockfree/spsc/bipartite_buf_impl.hpp index 793ace8..4144503 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/priority_queue.hpp b/lockfree/spsc/priority_queue.hpp index 577c832..7f88086 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/priority_queue_impl.hpp b/lockfree/spsc/priority_queue_impl.hpp index 20ed48e..d267d9d 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/queue.hpp b/lockfree/spsc/queue.hpp index 3a863d2..2fbf902 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/queue_impl.hpp b/lockfree/spsc/queue_impl.hpp index bf658ae..b07ac13 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /********************** PUBLIC METHODS ************************/ diff --git a/lockfree/spsc/ring_buf.hpp b/lockfree/spsc/ring_buf.hpp index ec0a5a7..cb5d17b 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/ring_buf_impl.hpp b/lockfree/spsc/ring_buf_impl.hpp index 455139a..dab70f4 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.0 - * @date 27. May 2023 + * @version 2.0.1 + * @date 29. May 2023 * @author Djordje Nedic **************************************************************/ @@ -37,7 +37,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.0 + * Version: v2.0.1 **************************************************************/ /********************** PUBLIC METHODS ************************/