From 4be078fa15e07a41ef01a451810e0a239d8b3a70 Mon Sep 17 00:00:00 2001 From: Djordje Nedic Date: Sun, 25 Feb 2024 01:21:36 +0100 Subject: [PATCH] Release 2.0.7 --- CHANGELOG.md | 3 +++ CMakeLists.txt | 2 +- lockfree/lockfree.hpp | 2 +- lockfree/mpmc/priority_queue.hpp | 2 +- lockfree/mpmc/priority_queue_impl.hpp | 2 +- lockfree/mpmc/queue.hpp | 2 +- lockfree/mpmc/queue_impl.hpp | 2 +- lockfree/spsc/bipartite_buf.hpp | 2 +- lockfree/spsc/bipartite_buf_impl.hpp | 2 +- lockfree/spsc/priority_queue.hpp | 2 +- lockfree/spsc/priority_queue_impl.hpp | 2 +- lockfree/spsc/queue.hpp | 2 +- lockfree/spsc/queue_impl.hpp | 2 +- lockfree/spsc/ring_buf.hpp | 2 +- lockfree/spsc/ring_buf_impl.hpp | 2 +- 15 files changed, 17 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94a331a..b1800a5 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 2.0.7 +- Fixed an omission where the invalidate index of the [Bipartite Buffer](docs/spsc/bipartite_buf.md) was sharing a cacheline with wrapping flags, leading to unnecessary performance loss + ## 2.0.6 - Added a performance optimization in the [Bipartite Buffer](docs/spsc/bipartite_buf.md), where the atomic read index load can be avoided after reading wraps diff --git a/CMakeLists.txt b/CMakeLists.txt index 2404f49..61b2312 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.16) project(lockfree - VERSION 2.0.6 + VERSION 2.0.7 LANGUAGES CXX ) diff --git a/lockfree/lockfree.hpp b/lockfree/lockfree.hpp index cbfaf69..77db829 100644 --- a/lockfree/lockfree.hpp +++ b/lockfree/lockfree.hpp @@ -33,7 +33,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ #ifndef LOCKFREE_HPP diff --git a/lockfree/mpmc/priority_queue.hpp b/lockfree/mpmc/priority_queue.hpp index c290a3f..3a36045 100644 --- a/lockfree/mpmc/priority_queue.hpp +++ b/lockfree/mpmc/priority_queue.hpp @@ -33,7 +33,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/mpmc/priority_queue_impl.hpp b/lockfree/mpmc/priority_queue_impl.hpp index 3626f62..e346515 100644 --- a/lockfree/mpmc/priority_queue_impl.hpp +++ b/lockfree/mpmc/priority_queue_impl.hpp @@ -33,7 +33,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/mpmc/queue.hpp b/lockfree/mpmc/queue.hpp index ba73a59..eab7de1 100755 --- a/lockfree/mpmc/queue.hpp +++ b/lockfree/mpmc/queue.hpp @@ -33,7 +33,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/mpmc/queue_impl.hpp b/lockfree/mpmc/queue_impl.hpp index 1e78eef..7cdf8e2 100644 --- a/lockfree/mpmc/queue_impl.hpp +++ b/lockfree/mpmc/queue_impl.hpp @@ -33,7 +33,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ namespace lockfree { diff --git a/lockfree/spsc/bipartite_buf.hpp b/lockfree/spsc/bipartite_buf.hpp index 3d56923..d0fdc75 100644 --- a/lockfree/spsc/bipartite_buf.hpp +++ b/lockfree/spsc/bipartite_buf.hpp @@ -34,7 +34,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/bipartite_buf_impl.hpp b/lockfree/spsc/bipartite_buf_impl.hpp index af87e5d..d67c36a 100644 --- a/lockfree/spsc/bipartite_buf_impl.hpp +++ b/lockfree/spsc/bipartite_buf_impl.hpp @@ -34,7 +34,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/priority_queue.hpp b/lockfree/spsc/priority_queue.hpp index c6c4172..9c2fb6e 100644 --- a/lockfree/spsc/priority_queue.hpp +++ b/lockfree/spsc/priority_queue.hpp @@ -34,7 +34,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/priority_queue_impl.hpp b/lockfree/spsc/priority_queue_impl.hpp index 923ef05..224e118 100644 --- a/lockfree/spsc/priority_queue_impl.hpp +++ b/lockfree/spsc/priority_queue_impl.hpp @@ -34,7 +34,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/queue.hpp b/lockfree/spsc/queue.hpp index 7f8be99..678d32f 100755 --- a/lockfree/spsc/queue.hpp +++ b/lockfree/spsc/queue.hpp @@ -34,7 +34,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/queue_impl.hpp b/lockfree/spsc/queue_impl.hpp index cbfa00b..4ffbe7f 100644 --- a/lockfree/spsc/queue_impl.hpp +++ b/lockfree/spsc/queue_impl.hpp @@ -34,7 +34,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ namespace lockfree { diff --git a/lockfree/spsc/ring_buf.hpp b/lockfree/spsc/ring_buf.hpp index 3720814..75973f4 100755 --- a/lockfree/spsc/ring_buf.hpp +++ b/lockfree/spsc/ring_buf.hpp @@ -34,7 +34,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ /************************** INCLUDE ***************************/ diff --git a/lockfree/spsc/ring_buf_impl.hpp b/lockfree/spsc/ring_buf_impl.hpp index 2a10c25..ad93a6e 100644 --- a/lockfree/spsc/ring_buf_impl.hpp +++ b/lockfree/spsc/ring_buf_impl.hpp @@ -34,7 +34,7 @@ * This file is part of lockfree * * Author: Djordje Nedic - * Version: v2.0.6 + * Version: v2.0.7 **************************************************************/ namespace lockfree {