view testpauseresume.rhope @ 154:29b479a2ce48

Make memory leak detection controllable by a define
author Mike Pavone <pavone@retrodev.com>
date Tue, 21 Dec 2010 04:11:47 +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[] }
}