You copied the Doc URL to your clipboard.

9.6. Use multiprocessing

Many modern mobile devices have multiple application processors. Multi-processing can potentially improve performance of application processor code by a large margin.

Multi-processing requires that data can be accessed in parallel.

You can do this by:

  • Splitting data and assigning it to individual threads.

  • Sharing data between the threads and using mutual exclusion to prevent conflicts.

  • Using a concurrent data structure. That is, a data structure that can be read by multiple threads simultaneously.