android13/external/python/python-api-core/docs/multiprocessing.rst

8 lines
313 B
ReStructuredText

.. note::
Because this client uses :mod:`grpc` library, it is safe to
share instances across threads. In multiprocessing scenarios, the best
practice is to create client instances *after* the invocation of
:func:`os.fork` by :class:`multiprocessing.pool.Pool` or
:class:`multiprocessing.Process`.