Fork() on iPhone

前端 未结 2 1375
余生分开走
余生分开走 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?

提交回复
热议问题