C++: Non-blocking async and functional goodies for C++14
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
promise
promise_stream
un-using
.gitignore
LICENSE
README.md
TODO.md
assertion.cpp
assertion.h
assertion.md
concurrent_queue.h
concurrent_queue.tcc
decimal.cpp
decimal.h
decimal.tcc
event_loop.cpp
event_loop.h
event_loop.md
fs.cpp
fs.h
functional.h
functional.md
functional.tcc
lock_many.h
lock_many.tcc
makefile
promise.cpp
promise.h
promise.md
promise.tcc
promise_stream.cpp
promise_stream.h
promise_stream.md
promise_stream.tcc
run_test
scoped_counter.h
scoped_counter.tcc
self_managing.h
shared_functor.h
starter_pistol.cpp
starter_pistol.h
task.h
task.md
task.tcc
task_stream.h
task_stream.md
task_stream.tcc
test_decimal.cpp
test_event_loop.cpp
test_functional.cpp
test_promise.cpp
test_promise_stream.cpp
test_task.cpp
test_task_stream.cpp
tuple_iteration.h
tuple_iteration.md

README.md

Kaiu

N59E25

Promises, parallel event-loops, segregated thread pools, functional fun, ...

All contents of this library are located within the namespace kaiu.

Documentation

The header files are commented. Some components have their own README:

Building / running tests

Requires g++, developed using version 5.2.0.

To build and run the tests:

make tests

To build in release-mode (optimizations enabled, warnings disabled):

make tests mode=release

To run a particular test, use the runner:

./run_test [commands]

For a description of the commands, run:

./run_test help:

For example, to build and run the promise test a leak check with valgrind:

./run_test mem: promise