Concurrent Programming in Mac OS X and iOS: Unleash Multicore Performance with Grand Central Dispatch