资源描述:
《Is Parallel Programming Hard, And, If So, What....pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、IsParallelProgrammingHard,And,IfSo,WhatCanYouDoAboutIt?FirstEditionEditedby:PaulE.McKenneyLinuxTechnologyCenterIBMBeavertonpaulmck@linux.vnet.ibm.comMarch10,2014iiLegalStatementThisworkrepresentstheviewsoftheeditorandtheauthorsanddoesnotnecessarilyrepresenttheviewoftheirrespectiveemployers.Trademar
2、ks:•IBM,zSeries,andPowerPCaretrademarksorregisteredtrademarksofInternationalBusinessMachinesCorpora-tionintheUnitedStates,othercountries,orboth.•LinuxisaregisteredtrademarkofLinusTorvalds.•i386isatrademarkofIntelCorporationoritssubsidiariesintheUnitedStates,othercountries,orboth.•Othercompany,produ
3、ct,andservicenamesmaybetrademarksorservicemarksofsuchcompanies.Thenon-source-codetextandimagesinthisdocumentareprovidedunderthetermsoftheCreativeCommonsAttribution-ShareAlike3.0UnitedStateslicense.1Inbrief,youmayusethecontentsofthisdocumentforanypurpose,personal,commercial,orotherwise,solongasattri
4、butiontotheauthorsismaintained.Likewise,thedocumentmaybemodified,andderivativeworksandtranslationsmadeavailable,solongassuchmodificationsandderivationsareofferedtothepubliconequaltermsasthenon-source-codetextandimagesintheoriginaldocument.SourcecodeiscoveredbyvariousversionsoftheGPL.2Someofthiscodeis
5、GPLv2-only,asitderivesfromtheLinuxkernel,whileothercodeisGPLv2-or-later.SeethecommentheadersoftheindividualsourcefileswithintheCodeSamplesdirectoryinthegitarchive3fortheexactlicenses.Ifyouareunsureofthelicenseforagivencodefragment,youshouldassumeGPLv2-only.Combinedwork©2005-2014byPaulE.McKenney.1htt
6、p://creativecommons.org/licenses/by-sa/3.0/us/2http://www.gnu.org/licenses/gpl-2.0.html3git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/perfbook.gitContents1HowToUseThisBook11.1Roadmap.................................................11.2QuickQuizzes............................................
7、...21.3AlternativestoThisBook.........................................21.4SampleSourceCode...........................................31.5WhoseBookIsThis?...........................................32Introduc