ARM Technical Support Knowledge Articles

DATA PROTECTION

Applies to: RTX51 Real-time Kernel

Answer

Information in this article applies to:


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.

Article last edited on: 2004-06-07 15:41:56

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential