Win32多线程同步技术浅析  被引量:8

Analysis of synchronization mechanisms for multithread in Win32 system

在线阅读下载全文

作  者:章秦[1] 

机构地区:[1]中国电子科技集团公司第三十九研究所,陕西西安710065

出  处:《电子设计工程》2011年第21期56-58,61,共4页Electronic Design Engineering

摘  要:简要介绍了在Win32环境下多线程访问共享资源时的同步机制,讨论了主要的4种同步对象(临界区、互斥元、事件、信号量),并描述了它们的优缺点,给出了使用Win32 API函数操控这4种对象实现多线程同步的方法。This paper briefly introduces the synchronization mechanisms of muhithread in Win32 environment, discusses the four principal synchronization objects (Critical Seetion.Mutex.Event and Semaphore),and describes their advantages ,and disadvantages.Finally gives the method of muitlthread synchronization based on Win32 API for each object.

关 键 词:多线程 同步 临界区 互斥元 事件 信号量 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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