检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国科学技术信息研究所,北京100038 [2]北京掌上通网络技术有限公司,北京100083
出 处:《微计算机应用》2010年第1期50-57,共8页Microcomputer Applications
摘 要:多线程环境下,线程同步伴随着多线程的产生而产生,程序员对于共享内存互斥同步访问的思维已经根深蒂固。由于锁的存在,当访问互斥锁保护的共享内存时,线程首先请求锁的允许,然后才被接受访问共享内存,否则只能等待其它线程释放锁,同时锁也带来了很多负面影响。Lock Free一个崭新的多线程共享内存的同步访问技术,抛开了锁的概念,多线程平行运行,尤其是在多核时代更显优势。但Lock Free技术应用技巧性很强,难度比较大,应用范围一直非常受限,本文旨在揭示Lock Free技术应用的一般规律,使其在多核时代大放异彩。In multi - threaded environment, thread synchronization with the arising generated multi - threaded, Programmers for the simuhaneous access to shared memory mutual exclusion of thinking has been deeply rooted. Mutex lock to protect access to shared memory, thread lock to allow the first request, and then was finally accepted, access to shared memory, or else have to wait for other thread to release the lock. However, due to the existence of the lock, but also brings with it many negative effects. The Lock Free a new multi - threaded shared memory synchronization access technology, to set aside the concept of locks, multi - threaded parallel operation, especially in the multi- core era is even more advantages. However, Lock Free technology skills are highly difficult to relatively large range of applications is very limited agreement, this paper aims to reveal the Lock Free technology applications in the general law to make it shine in the muhicore era.
分 类 号:TP332[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28