Skip to content

Commit

Permalink
Update docs for multiprocessing
Browse files Browse the repository at this point in the history
Our docs already give advice about multithreading, but did not give
any advice about multiprocessing. This explicitly calls out that the
reccomendations for multithreading and multiprocessing are the same.
  • Loading branch information
JordonPhillips committed Jun 6, 2017
1 parent 5a08863 commit 12e21f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/guide/resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ keyword arguments. Examples of waiters include::
instance.wait_until_running()


Multithreading
--------------
It is recommended to create a resource instance for each thread in a multithreaded application rather than sharing a single instance among the threads. For example::
Multithreading / Multiprocessing
--------------------------------
It is recommended to create a resource instance for each thread / process in a multithreaded or multiprocess application rather than sharing a single instance among the threads / processes. For example::

import boto3
import boto3.session
Expand Down

0 comments on commit 12e21f0

Please sign in to comment.