Home

Awesome

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

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

Thanks