Skip to content

Commit

Permalink
Document lack of multiprocess / async functionality (#402)
Browse files Browse the repository at this point in the history
* docs: Added note regarding iOS multiprocess/tghreading limitations

* Fix typo

* Tweaked wording

* 🔧 Refine accuracy of multiprocess docs

* ✨ Fix typo
  • Loading branch information
Zen-CODE authored Nov 7, 2019
1 parent 2e2d52e commit 06e6e0b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,16 @@ It is due to invalid archs, search for them and check it. Maybe you
targetted a simulator but have only armv7/arm64. Maybe you want to target
your iPad but it as only x86_64.

### Why does the python multiprocess/subprocess module not work?

The iOS application model does not currently support multi-processing in a
cross-platform compatible way. The application design focuses on minimizing
processor usage (to minimize power consumption) and promotes an
[alternative concurrency model](https://developer.apple.com/library/archive/documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction/Introduction.html).

If you need to make use of multiple processes, you should consider using
[PyObjus](https://github.com/kivy/pyobjus) to leverage native iOS
functionals for this.

## Support

Expand Down

0 comments on commit 06e6e0b

Please sign in to comment.