Fork() on iPhone

前端 未结 2 1373
余生分开走
余生分开走 2021-01-14 04:55

Does the the iPhone SDK allow fork() and pipe(), the traditional unix functions? I can\'t seem to make them work.

Edit

相关标签:
2条回答
  • 2021-01-14 05:52

    You can't fork() but you can use as many threads as you like, and now you even have GCD on the iPhone to help keep thread use reasonable.

    Why do you want to fork() instead of just using more threads?

    0 讨论(0)
  • 2021-01-14 05:55

    Nope. You also can't exec. You have 1 process.

    0 讨论(0)
提交回复
热议问题