Python-Threads sind Arbeitseinheiten, die unabhängig voneinander ausgeführt werden. In CPython werden sie als Threads auf Betriebssystemebene implementiert, dabei allerdings durch das GIL „serialized“ ...
2024年10月にリリースされたPython 3. 13。その中でもっとも注目すべき実験的な新機能の 「free threading」 について紹介します。本記事ではfree threadingについて紹介するにあたり、避けては通れない 「Global Interpreter Lock (以下GIL⁠)⁠」というCPythonのロック機構 ...