欢迎来到天天文库
浏览记录
ID:52261091
大小:2.71 MB
页数:105页
时间:2020-04-03
《(并行程序设计导论)第四章PPT.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Copyright©2010,ElsevierInc.AllrightsReservedChapter4SharedMemoryProgrammingwithPthreadsAnIntroductiontoParallelProgrammingPeterPachecoEvaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile5.2.0.0.Copyright2004-2011AsposePtyLtd.Evaluationonly.Crea
2、tedwithAspose.Slidesfor.NET3.5ClientProfile5.2.0.0.Copyright2004-2011AsposePtyLtd.Copyright©2010,ElsevierInc.AllrightsReservedRoadmapProblemsprogrammingsharedmemorysystems.Controllingaccesstoacriticalsection.Threadsynchronization.ProgrammingwithPOSIXthre
3、ads.Mutexes.Producer-consumersynchronizationandsemaphores.Barriersandconditionvariables.Read-writelocks.Threadsafety.#ChapterSubtitleEvaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile5.2.0.0.Copyright2004-2011AsposePtyLtd.Evaluationonly.Creat
4、edwithAspose.Slidesfor.NET3.5ClientProfile5.2.0.0.Copyright2004-2011AsposePtyLtd.ASharedMemorySystemCopyright©2010,ElsevierInc.AllrightsReservedEvaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile5.2.0.0.Copyright2004-2011AsposePtyLtd.Evaluatio
5、nonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile5.2.0.0.Copyright2004-2011AsposePtyLtd.ProcessesandThreadsAprocessisaninstanceofarunning(orsuspended)program.Threadsareanalogoustoa“light-weight”process.Inasharedmemoryprogramasingleprocessmayhavemulti
6、plethreadsofcontrol.Copyright©2010,ElsevierInc.AllrightsReservedEvaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile5.2.0.0.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile5.2.0.0.Copyright2004-2011A
7、sposePtyLtd.POSIX®ThreadsAlsoknownasPthreads.AstandardforUnix-likeoperatingsystems.AlibrarythatcanbelinkedwithCprograms.Specifiesanapplicationprogramminginterface(API)formulti-threadedprogramming.Copyright©2010,ElsevierInc.AllrightsReservedEvaluationonly
8、.CreatedwithAspose.Slidesfor.NET3.5ClientProfile5.2.0.0.Copyright2004-2011AsposePtyLtd.Evaluationonly.CreatedwithAspose.Slidesfor.NET3.5ClientProfile5.2.0.0.Copyright2004-2011AsposePtyLtd.CaveatThePthreadsAPIisonlyavailabl
此文档下载收益归作者所有