グローバルインタプリタロック
(Global Interpreter Lock から転送)
出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2023/05/23 17:02 UTC 版)
グローバルインタプリタロック(英: Global Interpreter Lock, GIL)とは、プログラミング言語のインタプリタのスレッドによって保持されるスレッドセーフでないコードを、他のスレッドと共有してしまうことを防ぐための排他 ロックである。インタプリタのひとつのプロセスごとに必ずひとつの GIL が存在する。
- ^ “Concurrency and Python”. Dr. Dobb's Journal (2008年2月3日). 2008年7月12日閲覧。 “The GIL is a lock that is used to protect all the critical sections in Python. Hence, even if you have multiple CPUs, only one thread may be doing "pythony" things at a time.”
- ^ “Python/C API Reference Manual: Thread State and the Global Interpreter Lock”. 2007年9月3日18:04:40時点のオリジナルよりアーカイブ。2007年9月19日閲覧。
- ^ “Rubyの(グローバル)VMロックをトレースする(翻訳)”. TechRacho. BPS株式会社 (2022年9月2日). 2023年5月23日閲覧。 “実はもうGVLという呼び方はなくなりました”
- ^ バージョン3.0より前[3]
- 1 グローバルインタプリタロックとは
- 2 グローバルインタプリタロックの概要
「Global Interpreter Lock」の例文・使い方・用例・文例
- Global Procurement Organizationはどういう意味ですか?
- Locke の哲学は積極的、Hume の哲学は消極的である
- Global Interpreter Lockのページへのリンク