|
libcopp 2.3.2
|
#include <libcopp/coroutine/coroutine_context_container.h>#include <libcopp/coroutine/stackful_channel.h>#include <libcotask/task.h>#include <cstdio>#include <iostream>#include <memory>
Go to the source code of this file.
Data Structures | |
| class | producer_action |
| class | consumer_action |
| class | consumer_with_error_handling |
| struct | direct_context_example_data |
Functions | |
| void | example_basic_channel () |
| void | example_error_handling () |
| int | direct_consumer_runner (void *data_ptr) |
| void | example_direct_coroutine_context () |
| int | main () |
| int direct_consumer_runner | ( | void * | data_ptr | ) |
Definition at line 162 of file sample_readme_13.cpp.
Referenced by example_direct_coroutine_context().
| void example_basic_channel | ( | ) |
Definition at line 71 of file sample_readme_13.cpp.
Referenced by main().
| void example_direct_coroutine_context | ( | ) |
Definition at line 192 of file sample_readme_13.cpp.
References direct_consumer_runner().
Referenced by main().
| void example_error_handling | ( | ) |
Definition at line 131 of file sample_readme_13.cpp.
Referenced by main().
| int main | ( | ) |
Definition at line 224 of file sample_readme_13.cpp.
References example_basic_channel(), example_direct_coroutine_context(), and example_error_handling().