viaduct
0.2.0-5-g5831d91.dirty
runtime
/
edu.cornell.cs.apl.viaduct.backend
/
BackendInterpreter
Backend
Interpreter
class
BackendInterpreter
(
host
:
Host
,
program
:
ProgramNode
,
protocolAnalysis
:
ProtocolAnalysis
,
protocolInterpreters
:
List
<
ProtocolInterpreter
>
,
runtime
:
ViaductProcessRuntime
)
Content copied to clipboard
Functions
Functions
run
Link copied to clipboard
suspend
fun
run
(
)
Content copied to clipboard
suspend
fun
run
(
function
:
FunctionName
,
stmt
:
StatementNode
)
Content copied to clipboard
synchronize
Link copied to clipboard
suspend
fun
synchronize
(
senders
:
Set
<
Host
>
,
receivers
:
Set
<
Host
>
)
Content copied to clipboard
Synchronize hosts.