Skip to content

Commit

Permalink
Correct example code
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed May 5, 2024
1 parent a2137ae commit 75ea2d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def run_with_multiprocessing():

for i in range(n_processes):
queue.put(None)
queue.join()
queue.join()

flush()

Expand Down
2 changes: 1 addition & 1 deletion examples/example_04_multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def worker(reporter, task, queue):

for i in range(n_processes):
queue.put(None)
queue.join()
queue.join()

flush()

Expand Down

0 comments on commit 75ea2d5

Please sign in to comment.