Skip to content

Commit

Permalink
Merge pull request #49 from nkallima/v3.1.1-dev
Browse files Browse the repository at this point in the history
Releasing v3.1.1
  • Loading branch information
nkallima authored Jan 21, 2022
2 parents a45dda2 + 9ea5deb commit 4fe653e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
---------

v3.1.1
------
- Bug fix for the pool objects on the recycling functionality.

v3.1.0
------
- A new high-performant, optimized implementation for the flat-combining synchronization technique. This new implementation provided by the Synch framework is written from the scratch.
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/clhstackbench.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ inline static Object pop(int pid) {
#endif
synchNonTSOFence();
CLHUnlock(lock, pid);
synchRecycleObj(&pool_node, n);
if (n != NULL) synchRecycleObj(&pool_node, n);

return result;
}
Expand Down
3 changes: 3 additions & 0 deletions libconcurrent/primitives/pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ void *synchAllocObj(SynchPoolStruct *pool) {

void synchRecycleObj(SynchPoolStruct *pool, void *obj) {
#ifndef SYNCH_POOL_NODE_RECYCLING_DISABLE
if (obj == NULL)
return;

SynchBlockObject *object = obj;
object->next = pool->recycle_list;
pool->recycle_list = object;
Expand Down
2 changes: 1 addition & 1 deletion resources/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "The Synch framework"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = v3.1.0
PROJECT_NUMBER = v3.1.1

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down

0 comments on commit 4fe653e

Please sign in to comment.