libcopp  1.1.0
Typedefs | Functions | Variables
sample_readme_3.cpp File Reference
#include <cstdio>
#include <cstring>
#include <ctime>
#include <inttypes.h>
#include <iostream>
#include <stdint.h>
#include <libcotask/task.h>
#include <libcotask/task_manager.h>
Include dependency graph for sample_readme_3.cpp:

Go to the source code of this file.

Typedefs

typedef cotask::task my_task_t
 
typedef my_task_t::ptr_t task_ptr_type
 
typedef cotask::task_manager< my_task_tmgr_t
 

Functions

void tick ()
 
int main ()
 

Variables

mgr_t::ptr_t task_mgr = mgr_t::create()
 

Typedef Documentation

Definition at line 15 of file sample_readme_3.cpp.

Definition at line 13 of file sample_readme_3.cpp.

Definition at line 14 of file sample_readme_3.cpp.

Function Documentation

int main ( void  )
void tick ( )

Definition at line 20 of file sample_readme_3.cpp.

References task_mgr.

Variable Documentation

Definition at line 16 of file sample_readme_3.cpp.

Referenced by main(), and tick().