免锁环形缓冲区实现单片机共享数据处理的同步  被引量:1

Free Lock Ring Buffer SCM Shared Data Synchronization Process

在线阅读下载全文

作  者:颜秀铭 

机构地区:[1]华北理工大学,河北唐山063009

出  处:《工业控制计算机》2016年第12期104-105,共2页Industrial Control Computer

摘  要:深入分析并总结MCS-51系列单片机的中断优先级问题,引入操作系统多任务数据同步概念,分析在中断处理过程中,中断处理函数与被中断函数在访问共享数据时产生的数据同步问题,设计短小精悍的免锁环形缓冲区算法,实现对共享数据的保护。In-depth analysis and summary of MCS-51 Series Single Chip Microcomputer(MCU) interrupt priority,this paper introduces multitask operating system data synchronization concept,analysis in the process of interrupt handling,interrupt synchronization processing function and interrupt function in data access to shared data,lock free ring buffer algorithm design dapper,to realize the protection of shared data.

关 键 词:单片机 中断 同步 

分 类 号:TP368.1[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象