libcopp  1.2.1
sample_readme_1.cpp File Reference
#include <cstdio>
#include <cstring>
#include <inttypes.h>
#include <iostream>
#include <stdint.h>
#include <libcopp/coroutine/coroutine_context_container.h>
Include dependency graph for sample_readme_1.cpp:

Go to the source code of this file.


int my_runner (void *)
int main ()

Function Documentation

int main ( void  )

Definition at line 23 of file sample_readme_1.cpp.

int my_runner ( void *  )

Definition at line 11 of file sample_readme_1.cpp.

References copp::this_coroutine::get_coroutine(), and copp::coroutine_context::yield().

Referenced by main().