Skip to content

Commit 09c4846

Browse files
authored
chore(python): create thread_safety doc (#517)
This will be included in index.rst files. See https://github.com/googleapis/python-bigtable/pull/26/files
1 parent ea3ae39 commit 09c4846

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.. note::
2+
3+
Because this client uses :mod:`grpcio` library, it is safe to
4+
share instances across threads. In multiprocessing scenarios, the best
5+
practice is to create client instances *after* the invocation of
6+
:func:`os.fork` by :class:`multiprocessing.Pool` or
7+
:class:`multiprocessing.Process`.

0 commit comments

Comments
 (0)