Added lock-free single linked list implementation
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 13 Apr 2018 11:31:55 +0000 (13:31 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Apr 2018 08:18:43 +0000 (10:18 +0200)
commit5bfe6126f8bd7cd59bafd90658a12c19687a26fb
tree5b144437acd5412e71b22043263dd4519f8357f5
parent2720667566d73c52a3cc293d057d297ac775c74d
Added lock-free single linked list implementation

Only supports lock-free insertion for now, can not delete element
or traverse the list at the same time.
source/blender/blenlib/BLI_linklist_lockfree.h [new file with mode: 0644]
source/blender/blenlib/CMakeLists.txt
source/blender/blenlib/intern/BLI_linklist_lockfree.c [new file with mode: 0644]
tests/gtests/blenlib/BLI_linklist_lockfree_test.cc [new file with mode: 0644]
tests/gtests/blenlib/CMakeLists.txt