I was working on some inter-task communication with interfaces and such things.
At some point it seemed to be pretty useful to check two conditions or flags before entering a case.
But my intents weren't very successful.
Is this possible? Or do i have to work around it ?
A little example of what i was thinking about:
Code: Select all
int rx_if1 = 0;
int rx_if2 = 0;
select
{
case //some other cases
rx_if1 = 1;
break;
case // some other cases
rx_if2 = 1;
break;
case (rx_if1 && rx_if2) => tx.f():
break;
}
Chris