Error showing that multiple markers at this line.What's this

If you have a simple question and just want an answer.
User avatar
jeevanicherukuri
Member++
Posts: 17
Joined: Fri Dec 26, 2014 4:41 pm

Error showing that multiple markers at this line.What's this

Post by jeevanicherukuri »

[[ordered]]//At this line it's showing this error
select
    {
    case A :
     task1();   
    break;
    case B:
     task2();
    break;
}
 
My idea is to set priority for the tasks. Can you tell about this error?
 
In case statement, is there any need to mention condition so as to rectify the error?
Guest

Post by Guest »

Ordered selects cannot be used in combinable or distributable functions.

Have a look at the following link for more details about select statements:

https://www.xmos.com/support/tools/prog ... 53&page=27