Skip to content

codr7/libcodr7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup

libcodr7 requires a C11 compiler and CMake to build.

$ git clone https://github.com/codr7/libcodr7.git
$ cd libcodr7
$ mkdir build
$ cd build
$ cmake ..
$ sudo make install
$ valgrind ./tests

list (h/c)

Intrusive, double linked list. Since one set of links is needed for each list, the maxiumum number of lists an item is placed in simultaneously needs to be static.

deque (h/c)

Deque with value semantics and pool allocated items.

tree (h/c)

Left leaning red/black tree with value semantics and pool allocated items.

chan (h/c)

Thread safe channel based on C11 threads using deque.

examples

Besides the commented test suite, you may find a real world example here.

license

MIT

support

Please consider a donation if you would like to support the project, every contribution helps.

Donate using Liberapay

About

fundamental tools in the spirit of C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published