search

Home  >  Q&A  >  body text

IOS进程之间的通信方式有哪些?

问一个范围大一点的问题,假设我使用IOS中的GCD实现多线程编程,那么线程之间的通信都有哪些方式?

巴扎黑巴扎黑2836 days ago720

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-04-17 11:46:33

    The title is incorrect

    Communication method between threads:

    1. Shared memory (static objects and the like)
    2. tcp
    3. File

    Inter-process communication

    1. Shared memory
    2. tcp
    3. File
    4. Pipe (pipe, what is double open, half open...)

    reply
    0
  • Cancelreply