Code: Select all
{int, float} some_computation() {
int x;
float y;
... some code
return {x, y};
}
int a;
float b;
chan c;
par {
c <: some_computation();
c :> {a, b} ;
}
Code: Select all
{int, float} some_computation() {
int x;
float y;
... some code
return {x, y};
}
int a;
float b;
chan c;
par {
c <: some_computation();
c :> {a, b} ;
}