├── .clang-format ├── .editorconfig ├── .github └── workflows │ └── cmake.yml ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE.txt ├── README.md ├── cmake ├── CMakeLists.txt ├── FindCoroutines.cmake └── cppcoroConfig.cmake ├── include └── cppcoro │ ├── async_auto_reset_event.hpp │ ├── async_generator.hpp │ ├── async_latch.hpp │ ├── async_manual_reset_event.hpp │ ├── async_mutex.hpp │ ├── async_scope.hpp │ ├── awaitable_traits.hpp │ ├── broken_promise.hpp │ ├── cancellation_registration.hpp │ ├── cancellation_source.hpp │ ├── cancellation_token.hpp │ ├── config.hpp │ ├── coroutine.hpp │ ├── detail │ ├── any.hpp │ ├── get_awaiter.hpp │ ├── is_awaiter.hpp │ ├── lightweight_manual_reset_event.hpp │ ├── linux.hpp │ ├── linux_async_operation.hpp │ ├── manual_lifetime.hpp │ ├── remove_rvalue_reference.hpp │ ├── sync_wait_task.hpp │ ├── unwrap_reference.hpp │ ├── void_value.hpp │ ├── when_all_counter.hpp │ ├── when_all_ready_awaitable.hpp │ ├── when_all_task.hpp │ ├── win32.hpp │ └── win32_overlapped_operation.hpp │ ├── file.hpp │ ├── file_buffering_mode.hpp │ ├── file_open_mode.hpp │ ├── file_read_operation.hpp │ ├── file_share_mode.hpp │ ├── file_write_operation.hpp │ ├── filesystem.hpp │ ├── fmap.hpp │ ├── generator.hpp │ ├── inline_scheduler.hpp │ ├── io_service.hpp │ ├── is_awaitable.hpp │ ├── multi_producer_sequencer.hpp │ ├── net │ ├── ip_address.hpp │ ├── ip_endpoint.hpp │ ├── ipv4_address.hpp │ ├── ipv4_endpoint.hpp │ ├── ipv6_address.hpp │ ├── ipv6_endpoint.hpp │ ├── socket.hpp │ ├── socket_accept_operation.hpp │ ├── socket_connect_operation.hpp │ ├── socket_disconnect_operation.hpp │ ├── socket_recv_from_operation.hpp │ ├── socket_recv_operation.hpp │ ├── socket_send_operation.hpp │ └── socket_send_to_operation.hpp │ ├── on_scope_exit.hpp │ ├── operation_cancelled.hpp │ ├── read_only_file.hpp │ ├── read_write_file.hpp │ ├── readable_file.hpp │ ├── recursive_generator.hpp │ ├── resume_on.hpp │ ├── round_robin_scheduler.hpp │ ├── schedule_on.hpp │ ├── sequence_barrier.hpp │ ├── sequence_range.hpp │ ├── sequence_traits.hpp │ ├── shared_task.hpp │ ├── single_consumer_async_auto_reset_event.hpp │ ├── single_consumer_event.hpp │ ├── single_producer_sequencer.hpp │ ├── static_thread_pool.hpp │ ├── sync_wait.hpp │ ├── task.hpp │ ├── when_all.hpp │ ├── when_all_ready.hpp │ ├── writable_file.hpp │ └── write_only_file.hpp ├── lib ├── CMakeLists.txt ├── async_auto_reset_event.cpp ├── async_manual_reset_event.cpp ├── async_mutex.cpp ├── auto_reset_event.cpp ├── auto_reset_event.hpp ├── build.cake ├── cancellation_registration.cpp ├── cancellation_source.cpp ├── cancellation_state.cpp ├── cancellation_state.hpp ├── cancellation_token.cpp ├── file.cpp ├── file_read_operation.cpp ├── file_write_operation.cpp ├── io_service.cpp ├── ip_address.cpp ├── ip_endpoint.cpp ├── ipv4_address.cpp ├── ipv4_endpoint.cpp ├── ipv6_address.cpp ├── ipv6_endpoint.cpp ├── lightweight_manual_reset_event.cpp ├── linux.cpp ├── read_only_file.cpp ├── read_write_file.cpp ├── readable_file.cpp ├── socket.cpp ├── socket_accept_operation.cpp ├── socket_connect_operation.cpp ├── socket_disconnect_operation.cpp ├── socket_helpers.cpp ├── socket_helpers.hpp ├── socket_recv_from_operation.cpp ├── socket_recv_operation.cpp ├── socket_send_operation.cpp ├── socket_send_to_operation.cpp ├── spin_mutex.cpp ├── spin_mutex.hpp ├── spin_wait.cpp ├── spin_wait.hpp ├── static_thread_pool.cpp ├── use.cake ├── win32.cpp ├── writable_file.cpp └── write_only_file.cpp └── test ├── CMakeLists.txt ├── async_auto_reset_event_tests.cpp ├── async_generator_tests.cpp ├── async_latch_tests.cpp ├── async_manual_reset_event_tests.cpp ├── async_mutex_tests.cpp ├── build.cake ├── cancellation_token_tests.cpp ├── counted.cpp ├── counted.hpp ├── doctest ├── Config.cmake.in ├── assemble_single_header.cmake ├── common.cmake ├── cppcoro_doctest.h ├── doctest.cmake ├── doctest.h ├── doctestAddTests.cmake └── exec_test.cmake ├── file_tests.cpp ├── generator_tests.cpp ├── io_service_fixture.hpp ├── io_service_tests.cpp ├── ip_address_tests.cpp ├── ip_endpoint_tests.cpp ├── ipv4_address_tests.cpp ├── ipv4_endpoint_tests.cpp ├── ipv6_address_tests.cpp ├── ipv6_endpoint_tests.cpp ├── main.cpp ├── multi_producer_sequencer_tests.cpp ├── recursive_generator_tests.cpp ├── scheduling_operator_tests.cpp ├── sequence_barrier_tests.cpp ├── shared_task_tests.cpp ├── single_consumer_async_auto_reset_event_tests.cpp ├── single_producer_sequencer_tests.cpp ├── socket_tests.cpp ├── static_thread_pool_tests.cpp ├── sync_wait_tests.cpp ├── task_tests.cpp ├── when_all_ready_tests.cpp └── when_all_tests.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/.clang-format -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/cmake.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/.github/workflows/cmake.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | *.cakec 3 | *.pyc 4 | .idea 5 | *~ 6 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/README.md -------------------------------------------------------------------------------- /cmake/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cmake/FindCoroutines.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/cmake/FindCoroutines.cmake -------------------------------------------------------------------------------- /cmake/cppcoroConfig.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/cmake/cppcoroConfig.cmake -------------------------------------------------------------------------------- /include/cppcoro/async_auto_reset_event.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/async_auto_reset_event.hpp -------------------------------------------------------------------------------- /include/cppcoro/async_generator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/async_generator.hpp -------------------------------------------------------------------------------- /include/cppcoro/async_latch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/async_latch.hpp -------------------------------------------------------------------------------- /include/cppcoro/async_manual_reset_event.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/async_manual_reset_event.hpp -------------------------------------------------------------------------------- /include/cppcoro/async_mutex.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/async_mutex.hpp -------------------------------------------------------------------------------- /include/cppcoro/async_scope.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/async_scope.hpp -------------------------------------------------------------------------------- /include/cppcoro/awaitable_traits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/awaitable_traits.hpp -------------------------------------------------------------------------------- /include/cppcoro/broken_promise.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/broken_promise.hpp -------------------------------------------------------------------------------- /include/cppcoro/cancellation_registration.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/cancellation_registration.hpp -------------------------------------------------------------------------------- /include/cppcoro/cancellation_source.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/cancellation_source.hpp -------------------------------------------------------------------------------- /include/cppcoro/cancellation_token.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/cancellation_token.hpp -------------------------------------------------------------------------------- /include/cppcoro/config.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/config.hpp -------------------------------------------------------------------------------- /include/cppcoro/coroutine.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/coroutine.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/any.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/any.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/get_awaiter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/get_awaiter.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/is_awaiter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/is_awaiter.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/lightweight_manual_reset_event.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/lightweight_manual_reset_event.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/linux.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/linux.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/linux_async_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/linux_async_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/manual_lifetime.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/manual_lifetime.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/remove_rvalue_reference.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/remove_rvalue_reference.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/sync_wait_task.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/sync_wait_task.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/unwrap_reference.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/unwrap_reference.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/void_value.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/void_value.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/when_all_counter.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/when_all_counter.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/when_all_ready_awaitable.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/when_all_ready_awaitable.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/when_all_task.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/when_all_task.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/win32.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/win32.hpp -------------------------------------------------------------------------------- /include/cppcoro/detail/win32_overlapped_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/detail/win32_overlapped_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/file.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/file.hpp -------------------------------------------------------------------------------- /include/cppcoro/file_buffering_mode.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/file_buffering_mode.hpp -------------------------------------------------------------------------------- /include/cppcoro/file_open_mode.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/file_open_mode.hpp -------------------------------------------------------------------------------- /include/cppcoro/file_read_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/file_read_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/file_share_mode.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/file_share_mode.hpp -------------------------------------------------------------------------------- /include/cppcoro/file_write_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/file_write_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/filesystem.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/filesystem.hpp -------------------------------------------------------------------------------- /include/cppcoro/fmap.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/fmap.hpp -------------------------------------------------------------------------------- /include/cppcoro/generator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/generator.hpp -------------------------------------------------------------------------------- /include/cppcoro/inline_scheduler.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/inline_scheduler.hpp -------------------------------------------------------------------------------- /include/cppcoro/io_service.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/io_service.hpp -------------------------------------------------------------------------------- /include/cppcoro/is_awaitable.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/is_awaitable.hpp -------------------------------------------------------------------------------- /include/cppcoro/multi_producer_sequencer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/multi_producer_sequencer.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/ip_address.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/ip_address.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/ip_endpoint.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/ip_endpoint.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/ipv4_address.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/ipv4_address.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/ipv4_endpoint.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/ipv4_endpoint.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/ipv6_address.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/ipv6_address.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/ipv6_endpoint.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/ipv6_endpoint.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/socket.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/socket.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/socket_accept_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/socket_accept_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/socket_connect_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/socket_connect_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/socket_disconnect_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/socket_disconnect_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/socket_recv_from_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/socket_recv_from_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/socket_recv_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/socket_recv_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/socket_send_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/socket_send_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/net/socket_send_to_operation.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/net/socket_send_to_operation.hpp -------------------------------------------------------------------------------- /include/cppcoro/on_scope_exit.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/on_scope_exit.hpp -------------------------------------------------------------------------------- /include/cppcoro/operation_cancelled.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/operation_cancelled.hpp -------------------------------------------------------------------------------- /include/cppcoro/read_only_file.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/read_only_file.hpp -------------------------------------------------------------------------------- /include/cppcoro/read_write_file.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/read_write_file.hpp -------------------------------------------------------------------------------- /include/cppcoro/readable_file.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/readable_file.hpp -------------------------------------------------------------------------------- /include/cppcoro/recursive_generator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/recursive_generator.hpp -------------------------------------------------------------------------------- /include/cppcoro/resume_on.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/resume_on.hpp -------------------------------------------------------------------------------- /include/cppcoro/round_robin_scheduler.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/round_robin_scheduler.hpp -------------------------------------------------------------------------------- /include/cppcoro/schedule_on.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/schedule_on.hpp -------------------------------------------------------------------------------- /include/cppcoro/sequence_barrier.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/sequence_barrier.hpp -------------------------------------------------------------------------------- /include/cppcoro/sequence_range.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/sequence_range.hpp -------------------------------------------------------------------------------- /include/cppcoro/sequence_traits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/sequence_traits.hpp -------------------------------------------------------------------------------- /include/cppcoro/shared_task.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/shared_task.hpp -------------------------------------------------------------------------------- /include/cppcoro/single_consumer_async_auto_reset_event.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/single_consumer_async_auto_reset_event.hpp -------------------------------------------------------------------------------- /include/cppcoro/single_consumer_event.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/single_consumer_event.hpp -------------------------------------------------------------------------------- /include/cppcoro/single_producer_sequencer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/single_producer_sequencer.hpp -------------------------------------------------------------------------------- /include/cppcoro/static_thread_pool.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/static_thread_pool.hpp -------------------------------------------------------------------------------- /include/cppcoro/sync_wait.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/sync_wait.hpp -------------------------------------------------------------------------------- /include/cppcoro/task.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/task.hpp -------------------------------------------------------------------------------- /include/cppcoro/when_all.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/when_all.hpp -------------------------------------------------------------------------------- /include/cppcoro/when_all_ready.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/when_all_ready.hpp -------------------------------------------------------------------------------- /include/cppcoro/writable_file.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/writable_file.hpp -------------------------------------------------------------------------------- /include/cppcoro/write_only_file.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/include/cppcoro/write_only_file.hpp -------------------------------------------------------------------------------- /lib/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/CMakeLists.txt -------------------------------------------------------------------------------- /lib/async_auto_reset_event.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/async_auto_reset_event.cpp -------------------------------------------------------------------------------- /lib/async_manual_reset_event.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/async_manual_reset_event.cpp -------------------------------------------------------------------------------- /lib/async_mutex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/async_mutex.cpp -------------------------------------------------------------------------------- /lib/auto_reset_event.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/auto_reset_event.cpp -------------------------------------------------------------------------------- /lib/auto_reset_event.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/auto_reset_event.hpp -------------------------------------------------------------------------------- /lib/build.cake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/build.cake -------------------------------------------------------------------------------- /lib/cancellation_registration.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/cancellation_registration.cpp -------------------------------------------------------------------------------- /lib/cancellation_source.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/cancellation_source.cpp -------------------------------------------------------------------------------- /lib/cancellation_state.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/cancellation_state.cpp -------------------------------------------------------------------------------- /lib/cancellation_state.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/cancellation_state.hpp -------------------------------------------------------------------------------- /lib/cancellation_token.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/cancellation_token.cpp -------------------------------------------------------------------------------- /lib/file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/file.cpp -------------------------------------------------------------------------------- /lib/file_read_operation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/file_read_operation.cpp -------------------------------------------------------------------------------- /lib/file_write_operation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/file_write_operation.cpp -------------------------------------------------------------------------------- /lib/io_service.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/io_service.cpp -------------------------------------------------------------------------------- /lib/ip_address.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/ip_address.cpp -------------------------------------------------------------------------------- /lib/ip_endpoint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/ip_endpoint.cpp -------------------------------------------------------------------------------- /lib/ipv4_address.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/ipv4_address.cpp -------------------------------------------------------------------------------- /lib/ipv4_endpoint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/ipv4_endpoint.cpp -------------------------------------------------------------------------------- /lib/ipv6_address.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/ipv6_address.cpp -------------------------------------------------------------------------------- /lib/ipv6_endpoint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/ipv6_endpoint.cpp -------------------------------------------------------------------------------- /lib/lightweight_manual_reset_event.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/lightweight_manual_reset_event.cpp -------------------------------------------------------------------------------- /lib/linux.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/linux.cpp -------------------------------------------------------------------------------- /lib/read_only_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/read_only_file.cpp -------------------------------------------------------------------------------- /lib/read_write_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/read_write_file.cpp -------------------------------------------------------------------------------- /lib/readable_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/readable_file.cpp -------------------------------------------------------------------------------- /lib/socket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/socket.cpp -------------------------------------------------------------------------------- /lib/socket_accept_operation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/socket_accept_operation.cpp -------------------------------------------------------------------------------- /lib/socket_connect_operation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/socket_connect_operation.cpp -------------------------------------------------------------------------------- /lib/socket_disconnect_operation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/socket_disconnect_operation.cpp -------------------------------------------------------------------------------- /lib/socket_helpers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/socket_helpers.cpp -------------------------------------------------------------------------------- /lib/socket_helpers.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/socket_helpers.hpp -------------------------------------------------------------------------------- /lib/socket_recv_from_operation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/socket_recv_from_operation.cpp -------------------------------------------------------------------------------- /lib/socket_recv_operation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/socket_recv_operation.cpp -------------------------------------------------------------------------------- /lib/socket_send_operation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/socket_send_operation.cpp -------------------------------------------------------------------------------- /lib/socket_send_to_operation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/socket_send_to_operation.cpp -------------------------------------------------------------------------------- /lib/spin_mutex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/spin_mutex.cpp -------------------------------------------------------------------------------- /lib/spin_mutex.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/spin_mutex.hpp -------------------------------------------------------------------------------- /lib/spin_wait.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/spin_wait.cpp -------------------------------------------------------------------------------- /lib/spin_wait.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/spin_wait.hpp -------------------------------------------------------------------------------- /lib/static_thread_pool.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/static_thread_pool.cpp -------------------------------------------------------------------------------- /lib/use.cake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/use.cake -------------------------------------------------------------------------------- /lib/win32.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/win32.cpp -------------------------------------------------------------------------------- /lib/writable_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/writable_file.cpp -------------------------------------------------------------------------------- /lib/write_only_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/lib/write_only_file.cpp -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/async_auto_reset_event_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/async_auto_reset_event_tests.cpp -------------------------------------------------------------------------------- /test/async_generator_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/async_generator_tests.cpp -------------------------------------------------------------------------------- /test/async_latch_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/async_latch_tests.cpp -------------------------------------------------------------------------------- /test/async_manual_reset_event_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/async_manual_reset_event_tests.cpp -------------------------------------------------------------------------------- /test/async_mutex_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/async_mutex_tests.cpp -------------------------------------------------------------------------------- /test/build.cake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/build.cake -------------------------------------------------------------------------------- /test/cancellation_token_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/cancellation_token_tests.cpp -------------------------------------------------------------------------------- /test/counted.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/counted.cpp -------------------------------------------------------------------------------- /test/counted.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/counted.hpp -------------------------------------------------------------------------------- /test/doctest/Config.cmake.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/doctest/Config.cmake.in -------------------------------------------------------------------------------- /test/doctest/assemble_single_header.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/doctest/assemble_single_header.cmake -------------------------------------------------------------------------------- /test/doctest/common.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/doctest/common.cmake -------------------------------------------------------------------------------- /test/doctest/cppcoro_doctest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/doctest/cppcoro_doctest.h -------------------------------------------------------------------------------- /test/doctest/doctest.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/doctest/doctest.cmake -------------------------------------------------------------------------------- /test/doctest/doctest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/doctest/doctest.h -------------------------------------------------------------------------------- /test/doctest/doctestAddTests.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/doctest/doctestAddTests.cmake -------------------------------------------------------------------------------- /test/doctest/exec_test.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/doctest/exec_test.cmake -------------------------------------------------------------------------------- /test/file_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/file_tests.cpp -------------------------------------------------------------------------------- /test/generator_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/generator_tests.cpp -------------------------------------------------------------------------------- /test/io_service_fixture.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/io_service_fixture.hpp -------------------------------------------------------------------------------- /test/io_service_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/io_service_tests.cpp -------------------------------------------------------------------------------- /test/ip_address_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/ip_address_tests.cpp -------------------------------------------------------------------------------- /test/ip_endpoint_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/ip_endpoint_tests.cpp -------------------------------------------------------------------------------- /test/ipv4_address_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/ipv4_address_tests.cpp -------------------------------------------------------------------------------- /test/ipv4_endpoint_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/ipv4_endpoint_tests.cpp -------------------------------------------------------------------------------- /test/ipv6_address_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/ipv6_address_tests.cpp -------------------------------------------------------------------------------- /test/ipv6_endpoint_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/ipv6_endpoint_tests.cpp -------------------------------------------------------------------------------- /test/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/main.cpp -------------------------------------------------------------------------------- /test/multi_producer_sequencer_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/multi_producer_sequencer_tests.cpp -------------------------------------------------------------------------------- /test/recursive_generator_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/recursive_generator_tests.cpp -------------------------------------------------------------------------------- /test/scheduling_operator_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/scheduling_operator_tests.cpp -------------------------------------------------------------------------------- /test/sequence_barrier_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/sequence_barrier_tests.cpp -------------------------------------------------------------------------------- /test/shared_task_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/shared_task_tests.cpp -------------------------------------------------------------------------------- /test/single_consumer_async_auto_reset_event_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/single_consumer_async_auto_reset_event_tests.cpp -------------------------------------------------------------------------------- /test/single_producer_sequencer_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/single_producer_sequencer_tests.cpp -------------------------------------------------------------------------------- /test/socket_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/socket_tests.cpp -------------------------------------------------------------------------------- /test/static_thread_pool_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/static_thread_pool_tests.cpp -------------------------------------------------------------------------------- /test/sync_wait_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/sync_wait_tests.cpp -------------------------------------------------------------------------------- /test/task_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/task_tests.cpp -------------------------------------------------------------------------------- /test/when_all_ready_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/when_all_ready_tests.cpp -------------------------------------------------------------------------------- /test/when_all_tests.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreasbuhr/cppcoro/HEAD/test/when_all_tests.cpp --------------------------------------------------------------------------------