Skip to content

Commit

Permalink
Update multiprocessing and socket documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsmith committed Oct 17, 2024
1 parent 38ff503 commit 7c0f58d
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions product/runtime/docs/sphinx/android.rst
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,11 @@ include:
multiprocessing
---------------

Because Android doesn't support POSIX semaphores, most of the :any:`multiprocessing` APIs will
fail with the error "This platform lacks a functioning sem_open implementation". The simplest
solution is to use :any:`multiprocessing.dummy` instead.
Because Android doesn't support the System V IPC API, most of the :any:`multiprocessing`
APIs will fail with the error "This platform lacks a functioning sem_open
implementation" or "No module named '_multiprocessing'".

The simplest solution is to use :any:`multiprocessing.dummy` instead.

.. _android-os:

Expand Down Expand Up @@ -532,16 +534,6 @@ read and write this directory from Android Studio using the `Device File Explore
<https://developer.android.com/studio/debug/device-file-explorer>`_. Its path will be something
like `/data/data/your.application.id/files`.

socket
------

The following functions are unavailable because they're not supported by our minimum
Android version:

* :any:`socket.if_nameindex`
* :any:`socket.if_nametoindex`
* :any:`socket.if_indextoname`

ssl
---

Expand Down

0 comments on commit 7c0f58d

Please sign in to comment.