Search results for

5.1.1

411 results found

Post

Replies

Boosts

Views

Activity

Re: New LLVM compiler introduces hang using gcd
I originally posted this problem in the old devforums, and now have a reduced test case.I still don't understand what's fundamentally the issue here, but basically the new compiler is somehow allowing a block to get added to a GCD queue twice in some situations. In the following code, the 10 worker blocks each do their thing and the parent block waits until they're all done. This used to work really well (through Xcode 5.1.1), but now, occationally, one of the worker threads will get added to the queue *twice*.Jeffreyint main(int argc, const char * argv[]) { @autoreleasepool { dispatch_group_t group = dispatch_group_create(); dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0); NSUInteger totalWorkers = 10; NSMutableArray *workers = [[NSMutableArray alloc] init]; for (NSUInteger iWorker=0; iWorker<totalWorkers; iWorker++) { __block int numThreads = 0; workerType worker = ^{ numThreads++; if (numThreads>1) { NSLog(@Whoops! Called by two threads); } int y = 0; for
7
0
1.2k
Jun ’15
Confirm iPad 1 end-of-life?
I downloaded the Xcode 7 beta and plugged in the iPad 1 that I use for testing apps that still support iOS 5.1.1, and Xcode said the device wasn't supported. I've been expecting Apple to drop support for the iPad 1 for a while, and it looks like that time has come. However, I'd like to know if Apple has stated this offically anywhere. Does anyone know?Here are the Xcode 7 release notes, but I didn't see anything there about what devices are supported:http://adcdownload.apple.com/WWDC_2015/Xcode_7_beta/Xcode_7_beta_Release_Notes.pdf
0
0
539
Jun ’15