This intrinsic inserts a
YIELD instruction into the instruction stream generated by the compiler.
In some architectures, for example the v6T2 architecture,
YIELD instruction executes as a
The compiler does not recognize the
__yield intrinsic when compiling for a
target that does not support the
YIELD instruction. The compiler generates
either a warning or an error in this case, depending on the source language:
- In C code:
Warning: #223-D: function "__yield" declared implicitly.
- In C++ code:
Error: #20: identifier "__yield" is undefined.