资源描述:
《C Concurrency in Action .pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、INACTIONPracticalMultithreadingAnthonyWilliamsMANNINGC++ConcurrencyinActionC++ConcurrencyinActionPRACTICALMULTITHREADINGANTHONYWILLIAMSMANNINGSHELTERISLANDForonlineinformationandorderingofthisandotherManningbooks,pleasevisitwww.manning.com.Thepublisheroffersdiscountsonthisbookwh
2、enorderedinquantity.Formoreinformation,pleasecontactSpecialSalesDepartmentManningPublicationsCo.20BaldwinRoadPOBox261ShelterIsland,NY11964Email:orders@manning.com©2012byManningPublicationsCo.Allrightsreserved.Nopartofthispublicationmaybereproduced,storedinaretrievalsystem,ortran
3、smitted,inanyformorbymeanselectronic,mechanical,photocopying,orotherwise,withoutpriorwrittenpermissionofthepublisher.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthebook,andManningPublicationswas
4、awareofatrademarkclaim,thedesignationshavebeenprintedininitialcapsorallcaps.Recognizingtheimportanceofpreservingwhathasbeenwritten,itisManning’spolicytohavethebookswepublishprintedonacid-freepaper,andweexertourbesteffortstothatend.Recognizingalsoourresponsibilitytoconservetheres
5、ourcesofourplanet,Manningbooksareprintedonpaperthatisatleast15percentrecycledandprocessedwithouttheuseofelementalchlorine.ManningPublicationsCo.Developmenteditor:CynthiaKane20BaldwinRoadTechnicalproofreader:JonathanWakelyPOBox261Copyeditor:LindaRecktenwaldShelterIsland,NY11964Pr
6、oofreader:KatieTennantTypesetter:DennisDalinnikCoverdesigner:MarijaTudorISBN:9781933988771PrintedintheUnitedStatesofAmerica12345678910–MAL–18171615141312ToKim,Hugh,andErinbriefcontents1■Hello,worldofconcurrencyinC++!12■Managingthreads153■Sharingdatabetweenthreads334■Synchronizin
7、gconcurrentoperations675■TheC++memorymodelandoperationsonatomictypes1036■Designinglock-basedconcurrentdatastructures1487■Designinglock-freeconcurrentdatastructures1808■Designingconcurrentcode2249■Advancedthreadmanagement27310■Testinganddebuggingmultithreadedapplications300viicon
8、tentsprefacexvacknowledgmentsxviiaboutthisbookx