多线程

  1. 多线程的5种状态:

  2. 创建

  3. 就绪
  4. 执行
  5. 阻塞
  6. 结束

  7. 多线程的优缺点:

优点:

缺点:

  1. 多线程实现的技术方案

1> pThread

2> NSThread

3> GCD

4> NSOperation

results matching ""

    No results matching ""