comparison nworker_c.rhope @ 140:c14698c512f1

Untested addition of Pause/Resume
author Mike Pavone <pavone@retrodev.com>
date Sat, 20 Nov 2010 20:03:25 +0000
parents a68e6828d896
children f2cb85c53ced
comparison
equal deleted inserted replaced
139:a68e6828d896 140:c14698c512f1
1599 } 1599 }
1600 } 1600 }
1601 1601
1602 Register Builtins@NProgram[prog:out] 1602 Register Builtins@NProgram[prog:out]
1603 { 1603 {
1604 registered <- [[[[[[[[prog]Register Worker["Print", "rhope", 1, 1] 1604 registered <- [[[[[[[[[[[prog]Register Worker["Print", "rhope", 1, 1]
1605 ]Register Worker["If@Boolean", "rhope", 1, 2] 1605 ]Register Worker["If@Boolean", "rhope", 1, 2]
1606 ]Register Worker["Build", "rhope", 1, 1] 1606 ]Register Worker["Build", "rhope", 1, 1]
1607 ]Register Worker["Blueprint Of", "rhope", 1, 1] 1607 ]Register Worker["Blueprint Of", "rhope", 1, 1]
1608 ]Register Worker["Call@Worker", "rhope", 1, 2] //We're using 2 because we need to assume that the outputs are conditional 1608 ]Register Worker["Call@Worker", "rhope", 1, 2] //We're using 2 because we need to assume that the outputs are conditional
1609 ]Register Worker["ID", "rhope", 1, 1] 1609 ]Register Worker["ID", "rhope", 1, 1]
1610 ]Register Worker["Blueprint From ID", "rhope", 1, 2] 1610 ]Register Worker["Blueprint From ID", "rhope", 1, 2]
1611 ]Register Worker["Pause", "rhope", 1, 1]
1612 ]Register Worker["Resume", "rhope", 2, 2]
1613 ]Register Worker["Call Async", "rhope", 1, 1]
1611 ]Register Number Methods 1614 ]Register Number Methods
1612 1615
1613 out <- [[[[[[[registered]Bind Worker["If@Boolean", 1616 out <- [[[[[[[registered]Bind Worker["If@Boolean",
1614 [[[[[NWorker["rhope"] 1617 [[[[[NWorker["rhope"]
1615 ]Inputs <<[("condition")] 1618 ]Inputs <<[("condition")]