libcopp
2.2.0
|
#include <inttypes.h>
#include <stdint.h>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <iostream>
#include <libcopp/stack/stack_pool.h>
#include <libcotask/task.h>
Go to the source code of this file.
Data Structures | |
struct | sample_macro_coroutine |
Typedefs | |
typedef copp::stack_pool< copp::allocator::default_statck_allocator > | stack_pool_t |
typedef cotask::task< sample_macro_coroutine > | sample_task_t |
Functions | |
int | main () |
Variables | |
static stack_pool_t::ptr_t | global_stack_pool = stack_pool_t::create() |
typedef cotask::task<sample_macro_coroutine> sample_task_t |
Definition at line 25 of file sample_readme_4.cpp.
typedef copp::stack_pool<copp::allocator::default_statck_allocator> stack_pool_t |
Definition at line 13 of file sample_readme_4.cpp.
int main | ( | ) |
Definition at line 27 of file sample_readme_4.cpp.
References this_task::get_task(), global_stack_pool, and impl::task_impl::yield().
|
static |
Definition at line 23 of file sample_readme_4.cpp.
Referenced by main().