Page 59 - demo
P. 59

Grand Central Dispatch












              Developer must decide what pieces can or


                 should be executed simultaneously or in parallel






                                         Grand Central Dispatch (GCD)




           • implemented in Mac Os X 10.6

           • helps a developer once something has been identified that


               can be split off into a separate task

           • thread pool mechanism


           • allows anonymous functions as a way of specifying tasks
   54   55   56   57   58   59   60   61   62   63   64