Ihadonemajorgoalinwritingthisbook:tocovermodernapproachestoconcurrency.Thereareahundredbooksouttherethatdescribethreadsandallthevarioussynchronizationprimitivesinexcruciatingdetail;thisisnotoneofthose.Thisbookfocusesspecificallyonhowcodeshouldbewritten,nothowcodecouldbewritten.