进程间(来自不同用户)在目标c中的交流 [英] Inter Process (from different users) Communication in objective c

查看:47
本文介绍了进程间(来自不同用户)在目标c中的交流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在目标c中,哪个进程是(来自不同用户的)进程间通信的最佳方式?
我们可以在可可应用中使用Open MPI吗?

Which is best way for inter process(from different users) communication in objective c?
Can we use Open MPI in cocoa application?

推荐答案

可可中进程间通信的最佳"方法是最适合您需求的方法.

The "best" method for inter-process communication in Cocoa is the one most suitable for your needs.

如果您只需要发送简单的通知,请查看

If you just need to send simple notifications, check out NSDistributedNotifcationCenter.

如果您需要发送更多数据,请查看

If you need to send more data, check out NSConnection or NSPipe.

OpenMPI似乎也是一个不错的选择,请参见关于此线程与Xcode一起使用的信息.

OpenMPI also seems like a good choice, see this thread about using it with Xcode.

如有任何疑问,请随时发表评论.

If you have any questions, feel free to comment.

这篇关于进程间(来自不同用户)在目标c中的交流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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