Rubyã§æ¸ãããã¡ãã£ã¨éãããããå¦çããã£ã¦éãããå¿
è¦ããã£ãã®ã§ãfork(2)ã¨pipe(2)ã使ã£ããã«ãããã»ã¹åã§ã³ã¢ãæ´»ããã並åå¦çã«æ¸ãç´ãã話ãã¾ãã 以ä¸ã®è¨äºã«è©³ããæ¸ãã¦ããã®ã§ãTL;DRã¯ãã¡ããè¦ã¦ãª? Forking and IPC in Ruby, Part I Forking and IPC in Ruby, Part II ãªãã»ã©Unixããã»ã¹ â Rubyã§å¦ã¶Unixã®åºç¤ - é人åºçä¼ Threadãããããã®? â GILã«ã¤ã㦠並è¡ããã°ã©ãã³ã°ã¨ãã¦ã¾ãæåã«æãã¤ãã®ã¯ãã«ãã¹ã¬ããåã§ãããRubyã«ããã¦ã¯GVL(Giant VM lock)ããããããã«ãã³ã¢ãæ´»ãããã¨ã¯é£ããã®ã§ãã ãã¤ãã£ãã¹ã¬ãããç¨ãã¦å®è£
ããã¦ãã¾ããã ç¾å¨ã®å®è£
ã§ã¯ Ruby VM 㯠Giant VM lock (GVL) ãæã
{{#tags}}- {{label}}
{{/tags}}