qs991011
qs991011
> 建议你举个具体的例子,这样我从例子来给你说明 co_launch(^{ NSLog(@"第一个协程开始执行"); NSString *test = @"很长的一段数据,仅仅是测试"; [test co_writeToFile:[basePath stringByAppendingPathComponent:@"note"] atomically:true encoding:NSUTF8StringEncoding error:nil]; NSLog(@"第一个协程执行完成"); }); co_launch(^{ NSLog(@"第二个协程开始执行"); }); co_launch(^{ NSLog(@"第三个协程开始执行"); }); 协程一“让出CPU”给协程二的疑惑,没通过调度器,而是利用异步线程,这样理解对吗?
> Having this same issue, Code which was working in previous versions is now not working for initalValue, > No changes to the code, InitialValue no longer shows any values,...
+1
要烂尾了吗