Keil™, An ARM® Company

Technical Support

RTX51: DATA PROTECTION

Information in this article applies to:

  • RTX51 Version 3.10

QUESTION

I have an RTX51 application with several tasks running. Originally, I had RTX51 set up to use round robin task switching, so I enclosed accesses to global data within semaphore blocks.

Is this necessary now that I am not using round robin anymore? Is it safe to assume that tasks don't swap until an os_wait call when round robin is not enabled?

ANSWER

This is a fairly safe assumption to make as long as your global data is not accessed by a task and by an interrupt service routine.

Last Reviewed: Monday, June 07, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure