Skip to content

This is a direct copy of lawn CORO implementation with different Coroutine UseCase

License

Notifications You must be signed in to change notification settings

s8sg/lwan-coro-standalone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lwan-coro-standalone

This is a direct copy of lawn CORO implementation with different Coroutine UseCase

Coro LIB Origin : https://github.com/lpereira/lwan/tree/master/src/lib

Build:

gcc lwan-coro-example.c lwan-array.c lwan-coro.c -o example

Run:

$ ./example
coro_new coro1 and coro2
called coro_func_foo
yield in coro_func_foo
called coro_func_bar
yield in coro_func_bar
continue in coro_func_foo
continue in coro_func_bar
coro_free coro1 and coro2

About

This is a direct copy of lawn CORO implementation with different Coroutine UseCase

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages