Select function restrictions

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
User avatar
Folknology
XCore Legend
Posts: 1274
Joined: Thu Dec 10, 2009 10:20 pm
Contact:

Select function restrictions

Post by Folknology »

I was experimenting recently with different design patterns, some of which I have implemented with select functions in the past. Delving back into my Xmos library tool bag I starting mixing these patterns up with the newer interface and task features of the 13.x tools. However I hit some limitations when trying to use select functions in combinable or distributable tasks. The compiler complains that I cannot use select functions within combinable tasks, this caught me by surprise, I was wondering why this restriction exists as I am kind of fond of the 'select' functions as a means to package up things like state handlers etc.. Can someone explain why this restriction is placed on the compiler? will select functions continue to be supported?

regards
Al


Post Reply