iPhone: multitasking, multithreading?
iphone, pthreads
Solution
Multithreading will work. It's multitasking that won't. The iphone won't let more than one third party application run at once. That reasoning makes fork live outside of the application's sandbox.
You can create threads to poll sockets, read files, handle an AI player all you want, or until the performance gains start to go away.
Problem
I was told that the iPhone does not support multitasking and multithreading. This did not make sense to me, so I tested on the simulator: pthreads works, fork() doesn't. This result does make sense to me, but now I'm not sure: will the pthread library also work on the real device? Thanks.