view testpauseresume.rhope @ 155:d59611dcec71

Small fix to binary trees benchmark
author Mike Pavone <pavone@retrodev.com>
date Tue, 21 Dec 2010 04:12:11 +0000
parents f2cb85c53ced
children
line wrap: on
line source


Foo[:out]
{
	a <- Yield[]
	Val[a]
	{ out <- Print["Foo!"] }
}

Main[:out]
{
	Call Async[Foo[?]]
	{ got char <- Get Char[] }
	Val[got char]
	{ out <- Yield[] }
}