Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DNedic committed May 27, 2023
1 parent ea7b116 commit 7be24c4
Show file tree
Hide file tree
Showing 15 changed files with 46 additions and 40 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 2.0.0

- Added multi-producer multi-consumer [Queue](docs/mpmc/queue.md) and [Priority Queue](docs/mpmc/priority_queue.md) data structures
- **Important**: SPSC data structures have been moved to the `spsc` namespace
- **Important**: Cacheline padding is now the default behaviour as analytics showed most people are using the library on cache coherent systems, for embedded systems it is necessary to set `LOCKFREE_CACHE_COHERENT` to `false` to avoid wasting memory

## 1.1.0
- Added the [Priority Queue](docs/spsc/priority_queue.md) data structure

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.16)

project(lockfree
VERSION 1.1.0
VERSION 2.0.0
LANGUAGES CXX
)

Expand Down
6 changes: 3 additions & 3 deletions lockfree/lockfree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -36,7 +36,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/************************** DEFINE ****************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/mpmc/priority_queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -37,7 +37,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/************************** INCLUDE ***************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/mpmc/priority_queue_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -37,7 +37,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/************************** INCLUDE ***************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/mpmc/queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -36,7 +36,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/************************** INCLUDE ***************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/mpmc/queue_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -36,7 +36,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/********************** PUBLIC METHODS ************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/spsc/bipartite_buf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.2.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -37,7 +37,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/************************** INCLUDE ***************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/spsc/bipartite_buf_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.2.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -37,7 +37,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/************************** INCLUDE ***************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/spsc/priority_queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -37,7 +37,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/************************** INCLUDE ***************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/spsc/priority_queue_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -37,7 +37,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/************************** INCLUDE ***************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/spsc/queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -37,7 +37,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/************************** INCLUDE ***************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/spsc/queue_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -37,7 +37,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/********************** PUBLIC METHODS ************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/spsc/ring_buf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -37,7 +37,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/************************** INCLUDE ***************************/
Expand Down
6 changes: 3 additions & 3 deletions lockfree/spsc/ring_buf_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 1.1.0
* @date 19. May 2023
* @version 2.0.0
* @date 27. May 2023
* @author Djordje Nedic
**************************************************************/

Expand Down Expand Up @@ -37,7 +37,7 @@
* This file is part of lockfree
*
* Author: Djordje Nedic <[email protected]>
* Version: v1.1.0
* Version: v2.0.0
**************************************************************/

/********************** PUBLIC METHODS ************************/
Expand Down

0 comments on commit 7be24c4

Please sign in to comment.