XRCU is a library that provides efficient lock-less synchronization for read-mostly tasks and structures.
Luciano Lo Giudice a98f1f7caa Simplify access to hash table vector | 3 年之前 | |
---|---|---|
docs | 4 年之前 | |
tests | 4 年之前 | |
.gitignore | 5 年之前 | |
Changes | 5 年之前 | |
LICENSE | 6 年之前 | |
Makefile | 4 年之前 | |
README.md | 3 年之前 | |
VERSION | 5 年之前 | |
configure | 5 年之前 | |
hash_table.cpp | 4 年之前 | |
hash_table.hpp | 3 年之前 | |
lwlock.cpp | 4 年之前 | |
lwlock.hpp | 4 年之前 | |
optional.hpp | 4 年之前 | |
queue.cpp | 4 年之前 | |
queue.hpp | 3 年之前 | |
skip_list.cpp | 3 年之前 | |
skip_list.hpp | 3 年之前 | |
stack.cpp | 4 年之前 | |
stack.hpp | 4 年之前 | |
utils.cpp | 4 年之前 | |
utils.hpp | 4 年之前 | |
version.hpp | 5 年之前 | |
xatomic.hpp | 4 年之前 | |
xrcu.cpp | 4 年之前 | |
xrcu.hpp | 4 年之前 |
This library implements efficient lockless synchronization for read-mostly tasks. In addition, it provides several data lockless data structures that make use of said synchronization, with an API that closely resembles the one used in C++'s STL. These data structures include: stacks, queues (multiple producer, multiple consumer), skip lists and hash tables.
As with most GNU packages, xrcu follows a very simple convention:
./configure
make
make install
Even though the data structures are generic and thus implemented almost completely in single headers, there's still the need to link with this library (-lxrcu) to pull the runtime.
See docs/xrcu.html for a full overview of the design and its API.
Luciano Lo Giudice
Agustina Arzille
Licensed under the GPLv3.