Skip to content

"Deboostified" version of boost.context (coroutines), Plain and simple C API for context switching. Easy build on multiple platforms.

License

Notifications You must be signed in to change notification settings

septag/deboost.context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deboost.context

"Deboostified" version of boost.context (coroutines), Plain and simple C API for context switching. Easy build on multiple platforms.

Build

Currently supported platforms

  • Windows (x86_64, Win32)
  • Linux (x86_64/x86/ARM/ARM64)
  • OSX (x86_64/x86)
  • Android (ARM/x86/ARM64/x86_64)
  • iOS (Arm64, Arm7, x86_64, i386)

iOS

I've made an extra xcode project files for iOS projects/xcode/fcontext because I didn't know how to set different ASM files for each ARM architecture in cmake. So If you know how to do it, I'd be happy if you tell me.
So, you can use the included toolchain file or use your own, just define IOS to include the xcode project instead of generating it with cmake.

cd deboost.context
mkdir .build
cd .build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/ios.toolchain.cmake -G Xcode

Usage

Link your program with fcontext.lib/libfcontext.a and include the file fcontext.h.
See include/fcontext/fcontext.h for API usage.
More info is available at: boost.context

Credits

  • Boost.context: This library uses the code from boost.context github

Thanks

About

"Deboostified" version of boost.context (coroutines), Plain and simple C API for context switching. Easy build on multiple platforms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •