├── .gitignore ├── LICENCE ├── Makefile ├── Makefile.common ├── any_future.hpp ├── bitcast.hpp ├── continuation.hpp ├── continuation_exception.hpp ├── cv_waiter.hpp ├── details ├── continuation_details.hpp ├── continuation_meta.hpp ├── dynamic_details.hpp ├── switch_base.hpp ├── switch_base_alt.hpp ├── switch_pair_accessor.hpp └── variant_details.hpp ├── dynamic.hpp ├── event.cpp ├── event.hpp ├── fd_waiter.hpp ├── forwarding.hpp ├── futex.hpp ├── futex_waiter.hpp ├── future.hpp ├── guard.hpp ├── lambda.cpp ├── macros.hpp ├── match.hpp ├── mpsc_queue.hpp ├── node.hpp ├── pipe.hpp ├── q.hpp ├── quote.hpp ├── sem_waiter.hpp ├── shared_future.hpp ├── signature.hpp ├── stack_allocator.hpp ├── task.cpp ├── task.hpp ├── task_waiter.hpp ├── tests ├── any_future_test.cpp ├── asio_test.cpp ├── benchmark_test.cpp ├── continuation_test.cpp ├── dynamic_test.cpp ├── forwarding_test.cpp ├── future_test.cpp ├── match_test.cpp ├── mpsc_queue_test.cpp ├── pipe_test.cpp ├── q_test.cpp ├── quote_test.cpp ├── signature_test.cpp ├── throw_test.cpp └── variant_test.cpp ├── tuple.hpp ├── variant.hpp ├── waiter.cpp ├── waiter.hpp └── xassert.hpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/LICENCE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/Makefile -------------------------------------------------------------------------------- /Makefile.common: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/Makefile.common -------------------------------------------------------------------------------- /any_future.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/any_future.hpp -------------------------------------------------------------------------------- /bitcast.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/bitcast.hpp -------------------------------------------------------------------------------- /continuation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/continuation.hpp -------------------------------------------------------------------------------- /continuation_exception.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/continuation_exception.hpp -------------------------------------------------------------------------------- /cv_waiter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/cv_waiter.hpp -------------------------------------------------------------------------------- /details/continuation_details.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/details/continuation_details.hpp -------------------------------------------------------------------------------- /details/continuation_meta.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/details/continuation_meta.hpp -------------------------------------------------------------------------------- /details/dynamic_details.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/details/dynamic_details.hpp -------------------------------------------------------------------------------- /details/switch_base.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/details/switch_base.hpp -------------------------------------------------------------------------------- /details/switch_base_alt.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/details/switch_base_alt.hpp -------------------------------------------------------------------------------- /details/switch_pair_accessor.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/details/switch_pair_accessor.hpp -------------------------------------------------------------------------------- /details/variant_details.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/details/variant_details.hpp -------------------------------------------------------------------------------- /dynamic.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/dynamic.hpp -------------------------------------------------------------------------------- /event.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/event.cpp -------------------------------------------------------------------------------- /event.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/event.hpp -------------------------------------------------------------------------------- /fd_waiter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/fd_waiter.hpp -------------------------------------------------------------------------------- /forwarding.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/forwarding.hpp -------------------------------------------------------------------------------- /futex.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/futex.hpp -------------------------------------------------------------------------------- /futex_waiter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/futex_waiter.hpp -------------------------------------------------------------------------------- /future.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/future.hpp -------------------------------------------------------------------------------- /guard.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/guard.hpp -------------------------------------------------------------------------------- /lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/lambda.cpp -------------------------------------------------------------------------------- /macros.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/macros.hpp -------------------------------------------------------------------------------- /match.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/match.hpp -------------------------------------------------------------------------------- /mpsc_queue.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/mpsc_queue.hpp -------------------------------------------------------------------------------- /node.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/node.hpp -------------------------------------------------------------------------------- /pipe.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/pipe.hpp -------------------------------------------------------------------------------- /q.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/q.hpp -------------------------------------------------------------------------------- /quote.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/quote.hpp -------------------------------------------------------------------------------- /sem_waiter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/sem_waiter.hpp -------------------------------------------------------------------------------- /shared_future.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/shared_future.hpp -------------------------------------------------------------------------------- /signature.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/signature.hpp -------------------------------------------------------------------------------- /stack_allocator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/stack_allocator.hpp -------------------------------------------------------------------------------- /task.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/task.cpp -------------------------------------------------------------------------------- /task.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/task.hpp -------------------------------------------------------------------------------- /task_waiter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/task_waiter.hpp -------------------------------------------------------------------------------- /tests/any_future_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/any_future_test.cpp -------------------------------------------------------------------------------- /tests/asio_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/asio_test.cpp -------------------------------------------------------------------------------- /tests/benchmark_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/benchmark_test.cpp -------------------------------------------------------------------------------- /tests/continuation_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/continuation_test.cpp -------------------------------------------------------------------------------- /tests/dynamic_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/dynamic_test.cpp -------------------------------------------------------------------------------- /tests/forwarding_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/forwarding_test.cpp -------------------------------------------------------------------------------- /tests/future_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/future_test.cpp -------------------------------------------------------------------------------- /tests/match_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/match_test.cpp -------------------------------------------------------------------------------- /tests/mpsc_queue_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/mpsc_queue_test.cpp -------------------------------------------------------------------------------- /tests/pipe_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/pipe_test.cpp -------------------------------------------------------------------------------- /tests/q_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/q_test.cpp -------------------------------------------------------------------------------- /tests/quote_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/quote_test.cpp -------------------------------------------------------------------------------- /tests/signature_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/signature_test.cpp -------------------------------------------------------------------------------- /tests/throw_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/throw_test.cpp -------------------------------------------------------------------------------- /tests/variant_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tests/variant_test.cpp -------------------------------------------------------------------------------- /tuple.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/tuple.hpp -------------------------------------------------------------------------------- /variant.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/variant.hpp -------------------------------------------------------------------------------- /waiter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/waiter.cpp -------------------------------------------------------------------------------- /waiter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/waiter.hpp -------------------------------------------------------------------------------- /xassert.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gpderetta/libtask/HEAD/xassert.hpp --------------------------------------------------------------------------------