Skip to content

setjmp/longjmp-based asymmetric coroutine library

License

Notifications You must be signed in to change notification settings

anqurvanillapy/acoro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acoro

A simple library that brings you setjmp/longjmp-based asymmetric coroutines.

Disclaimer

  • Not thread-safe
  • Header only
  • std::jmp_buf is supplemented by AT&T-style inline assembly for stack switching
  • Not tested on i386 machines, DOS/Windows OSes yet
  • Not suitable for implementing generators/iterators yet

License

MIT

About

setjmp/longjmp-based asymmetric coroutine library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages