摘要
在实时多任务环境中,各任务之间一定存在对动态共享资源的访问。为了确保数据的可靠性和完整性,本文以嵌入式实时操作系统μC/OS-II在ARM中的应用为例,提出了关中断、关调度、使用互斥信号量和计数信号量几种方法来实现资源同步,并对数据的可靠性和完整性进行了具体的分析。
In the real-time multi-tasking environment, it must be exist to visit the dynamic sharing of resources among the task, In order to ensure the reliability and integrity of data, the paper based on the example of embedded real-time operating system μC/OS-Ⅱ applicationing on ARM,given the mothods for resource synchronization,such as close interruption, close scheduling, the use of mutual exclusion semaphores and signals of counting to achieve synchronization, furthermore, the paper given specific analysis for the reliability and integrity of data.
出处
《仪器仪表用户》
2008年第4期83-84,117,共3页
Instrumentation
关键词
资源同步
数据
实时性
resource synchronization
data
real-time