blob: 536d17b2ea65ccc9fe1c17172f7c85d8763ab5d4 [file] [log] [blame]
Bu Sun Kim945bafc2020-06-09 10:57:48 -07001.. note::
2
gcf-owl-bot[bot]8d8bc512021-05-24 16:30:03 +00003 Because this client uses :mod:`grpc` library, it is safe to
Bu Sun Kim945bafc2020-06-09 10:57:48 -07004 share instances across threads. In multiprocessing scenarios, the best
5 practice is to create client instances *after* the invocation of
gcf-owl-bot[bot]8d8bc512021-05-24 16:30:03 +00006 :func:`os.fork` by :class:`multiprocessing.pool.Pool` or
Bu Sun Kim945bafc2020-06-09 10:57:48 -07007 :class:`multiprocessing.Process`.