Browse Source Download (without any required ccan dependencies)

Module:

coroutine

Summary:

Co-routines

Author:

David Gibson <[email protected]>

Dependencies:

Description:

This code has helper functions for implementing co-routines, that is, explicit co-operative context switching. It's intended to provide similar functionality to ucontext, but with a cleaner interface. At the moment this is implemented in terms of ucontext, but the hope is to add other implementations for platforms that don't have ucontext in future.

License:

LGPL (v2.1 or any later version)