generator: Rewrite to use coroutine module
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 12 Dec 2016 09:58:35 +0000 (20:58 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 12 Dec 2016 09:58:35 +0000 (20:58 +1100)
commita240178097376329b4567a6728952daa89362771
tree77b87553be8b457b0170dd2dad70bec1d5b00d57
parent1ddc881f084e2527ad9e3541807469920ac299b4
generator: Rewrite to use coroutine module

Use the new coroutine module to abstract away our dependence on
ucontext.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/generator/_info
ccan/generator/generator.c
ccan/generator/generator.h