嗨,感谢您的帮助,多线程数据库提取xcode
我看了一些帖子,我对多线程有点困惑。看起来这可能很容易,但是我对编程非常陌生,所以我仍然试图去掌握它。
这是两个调用从数据库中提取数据,他们采取永远,因为它是...所以我在想,这些多线程,直到我可以学习如何建立这样的核心数据。现在,我使用sqllite和数据库涉及到10000+的食谱...所以不是快如闪电像我想......
请让我知道你在想什么,以及如何才能让这些也许同时发生? (如果可能的话)
谢谢你提前。
requestCount++;
[[DataPuller sharedDataPuller] getAllDeletedRecipeList];
[DataPuller sharedDataPuller].target = self;
requestCount++;
[[DataPuller sharedDataPuller] getAllRecipesList];
[DataPuller sharedDataPuller].target = self;
模糊问题的答案... http://www.sqlite.org/threadsafe.html – borrrden