Browse Source Download (without any required ccan dependencies)

Module:

coroutine

Summary:

Co-routines

Author:

David Gibson <david@gibson.dropbear.id.au>

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)