C166: ERROR 185 (ATOMIC #5 OUT OF RANGE)
Information in this article applies to:
I'm using the _atomic_ (0) function and I receive the following error message:
*** ERROR 185 IN LINE 147 OF .\timer.c: atomic #5: out of range
How can I fix this?
This error message indicates that the code between the _atomic_ (0) and _endatomic_ functions is larger than 4 instructions. Atomic code can only be 4 instructions or less.
Reduce the amount of code that you want to make atomic or consider using the #pragma disable directive.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Friday, July 15, 2005
of your data.