Skip to content

Commit cd144de

Browse files
Clarify about multiple thread states per host thread.
1 parent b81dbd2 commit cd144de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/reference/executionmodel.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,10 @@ Each thread state, over its lifetime, is always tied to exactly one
563563
interpreter and exactly one host thread. It will only ever be used in
564564
that thread and with that interpreter.
565565

566-
In the other direction, a host thread may have many Python thread states
567-
tied to it, for different interpreters or even the same interpreter.
568-
However, for any given host thread, only one of the thread states
569-
tied to it can be used by the thread at a time.
566+
Multiple thread states may be tied to the same host thread, whether for
567+
different interpreters or even the same interpreter. However, for any
568+
given host thread, only one of the thread states tied to it can be used
569+
by the thread at a time.
570570

571571
Thread states are isolated and independent from one another and don't
572572
share any data, except for possibly sharing an interpreter and objects

0 commit comments

Comments
 (0)