Document lack of multiprocess / async functionality (#402)

* docs: Added note regarding iOS multiprocess/tghreading limitations

* Fix typo

* Tweaked wording

* 🔧 Refine accuracy of multiprocess docs

*  Fix typo
This commit is contained in:
Richard Larkin 2019-11-07 21:46:54 +02:00 committed by GitHub
parent 2e2d52e203
commit 06e6e0b8b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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