我们可以在iPhone应用程序使用的pthread而不是NSThread [英] Can we use pthread instead of NSThread in iPhone apps

查看:145
本文介绍了我们可以在iPhone应用程序使用的pthread而不是NSThread的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我有一个使用这两个目标C和应用程序; C ++但便携性的原因,我曾尝试使用C ++尽可能....现在我面临着一个需要线程我想使用的pthread而不是NSThread的一些问题....是好使用的pthread .. 。将苹果惩罚我用它通过拒绝在AppStore上我的应用程序...?

Well I have an application that uses both Objective C & c++ but for portability reasons I have tried to use c++ as much as possible.... Now I am confronted with some problem that requires threads I was thinking of using pthread instead of NSThread.... is it Okay to use pthread... will Apple punish me for using it by rejecting my app on the appstore...?

您的意见,请......

Your comments please......

推荐答案

NSThread 围绕的pthread 内置反正

我不明白为什么用任何理由的pthread 将导致拒绝从苹果公司的一部分

I can't see any reason why using pthread would lead to rejection from Apple's part

这篇关于我们可以在iPhone应用程序使用的pthread而不是NSThread的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆