From ae91d639db6fa43f517c270e3349c8800a53294a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 14 Jan 2020 09:19:04 +0100 Subject: [PATCH] Threading --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff5f320..606bb7f 100644 --- a/README.md +++ b/README.md @@ -2014,7 +2014,7 @@ from collections import deque Threading --------- * **CPython interpreter can only run a single thread at a time.** -* **That is why using multiple threads won't result in a faster execution, unless one of the threads contains an I/O operation.** +* **That is why using multiple threads won't result in a faster execution, unless there is an I/O operation in at least one of them.** ```python from threading import Thread, RLock ``` diff --git a/index.html b/index.html index 5abf03f..f5c720d 100644 --- a/index.html +++ b/index.html @@ -1778,7 +1778,7 @@ db = connector.connect(host=<str>, user=<str>, password=<str>,

#Threading

from threading import Thread, RLock