码迷,mamicode.com
首页 >  
搜索关键字:atomic    ( 968个结果
《Linux Device Drivers》第八章 分配内存——note
kmalloc函数的内幕 不对所获取的内存空间清零分配的区域在物理内存中也是连续的flags参数 GFP_KERNEL 在空闲内存较少时把当前进程转入休眠以等待一个页面分配内存的函数必须是可重入的 GFP_ATOMIC 用于在中断处理例程或其他运行于进程上下文之外的代码中分配内存,不会休眠 GFP_USER 用于为用户空间页分配内存,可能会休眠 GFP_...
分类:系统相关   时间:2014-09-28 12:14:31    阅读次数:291
[docker]coreOS与atomic对比
摘自https://major.io/2014/05/13/coreos-vs-project-atomic-a-review/。 【部署】 coreOS: 通过云上的镜像或者PXE部署。在云上可以使用cloud-config进行配置。 提供了etcd这个key-value系统,提供类似于zookeeper的能力。而且可以用于放置node信息。 提供fleet进行docker容器生命...
分类:其他好文   时间:2014-09-19 22:35:26    阅读次数:321
Adaptively handling remote atomic execution based upon contention prediction
In one embodiment, a method includes receiving an instruction for decoding in a processor core and dynamically handling the instruction with one of mu...
分类:其他好文   时间:2014-09-18 01:57:33    阅读次数:376
Atomic operations on the x86 processors
On the Intel type of x86 processors including AMD, increasingly there are more CPU cores or processors running in parallel. In the old days when there...
分类:其他好文   时间:2014-09-18 00:46:13    阅读次数:230
Method and apparatus for an atomic operation in a parallel computing environment
A method and apparatus for aatomicoperationis described. A method comprises receiving a first program unit in a parallel computing environment, the fi...
分类:移动开发   时间:2014-09-18 00:30:13    阅读次数:443
java线程:Atomic(原子的)
一、何谓Atomic?Atomic一词跟原子有点关系,后者曾被人认为是最小物质的单位。计算机中的Atomic是指不能分割成若干部分的意思。如果一段代码被认为是Atomic,则表示这段代码在执行过程中,是不能被中断的。通常来说,原子指令由硬件提供,供软件来实现原子方法(某个线程进入该方法后,就不会被中...
分类:编程语言   时间:2014-09-16 22:05:31    阅读次数:291
Android多线程研究(8)——Java中的原子性理解
一、什么是原子性原子性是世界上最小单位,具有不可分割性。比如a=0;(a非long和double类型)这个操作是不可分割的,那么我们说这个操作是原子操作。再比如:a++;这个操作实际上是a=a+1;是可分割的,所以他不是一个原子操作。二、原子操作的作用非原子操作都会存在线程安全问题,需要我们使用同步技术(sychronized)来让它变成一个原子操作。一个操作是原子操作,那么我们就称它具有原子性。...
分类:移动开发   时间:2014-09-15 01:08:18    阅读次数:336
Objective-C property属性解析
@interface …@property (原子性,可写性,内存管理) id name;@end原子性: nonatomic, atomic 默认atomic可写性: readwrite, readonly 默认readwrite内存管理: assign, retain, copy 默认as...
分类:其他好文   时间:2014-09-04 18:32:19    阅读次数:191
Zookeeper的一致性协议:Zab(转)
Zookeeper使用了一种称为Zab(Zookeeper Atomic Broadcast)的协议作为其一致性复制的核心,据其作者说这是一种新发算法,其特点是充分考虑了Yahoo的具体情况:高吞吐量、低延迟、健壮、简单,但不过分要求其扩展性。下面将展示一些该协议的核心内容:另,本文仅讨论Zooke...
分类:其他好文   时间:2014-08-29 23:58:58    阅读次数:596
Linearizability(also known as strict or atomic consistency)
In concurrent programming, an operation (or set of operations) is atomic, linearizable, indivisible or uninterruptible if it appears to the rest of the system to occur instantaneously. Atomicity is ...
分类:其他好文   时间:2014-08-25 11:52:54    阅读次数:331
968条   上一页 1 ... 91 92 93 94 95 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!