- 博客(6)
- 资源 (5)
- 收藏
- 关注
转载 Should volatile Acquire Atomicity and Thread Visibility Semantics?
Doc. no.N2016=06-0086Date:2006-04-21Reply to:Hans Boehm Authors:Hans Boehm & Nick MaclarenShould volatile Acquire Atomicity and Thread Visibility Semantics?Traditio
2013-12-25 11:39:34 1276
转载 Volatile: Almost Useless for Multi-Threaded Programming
Volatile: Almost Useless for Multi-Threaded ProgrammingSubmitted by Arch D. Robison... on Fri, 11/30/2007 - 12:44There is a widespread notion that the keyword volatile is g
2013-12-25 11:38:26 1362
转载 Why the "volatile" type class should not be used
------------------------------------------------C programmers have often taken volatile to mean that the variable could bechanged outside of the current thread of execution; as a result, they ares
2013-12-23 10:26:46 1438
转载 核间中断IPI的机制
XLR 732 多核多线程处理器的中断由 PIC(Programmable Interrupt Controller)统一控制。PIC 允许一个硬件线程中断其他的硬件线程,这种方式被称为核间中断(Inter-Processor Interrupts,IPI)。PIC 拥有一个宽度为 32 位的核间中断寄存器IPIBase,该寄存器包含目的线程的编号、中断向量及中断类型(是否中断多个硬件线程
2013-12-21 11:10:25 14501
翻译 编译器如何工作?
解释编译器如何工作不是一件容易的事,最好的方法是用一个实例进行说明: 编译器是这样一个电脑程序,它把用高级编程语言编写的源代码,转化成低级语言。最基本地,一个编译器由以下几个阶段组成:词法分析、语法分析、语义分析、IR(中间代码,intermediateRepresentation)产生、IR优化、代码产生、最终优化。
2013-12-09 22:48:30 1909
转载 编译器基本过程
编译器最基本的功能就是把高级语言(例如C/Fortran)编写的代码转化为机器指令(就是01串),从这个角度来说它本质上是个转换过程。经典的编译过程主要包括:1、 词法分析(Lexical Analysis)词法分析就是从输入代码中识别出各种记号(token),例如对于C语言我们就需要知道if,else等是语言的关键字,myvar是个标识,而123myvar不能被识别为一个标识
2013-12-09 22:39:03 1747
关于内核动态补丁技术(kpatch)
2018-11-19
ARMv8 Linux内核异常处理分析
2014-05-30
ARM上电启动及Uboot代码分析
2014-05-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人