ããã»ã¹ããã°ã©ãã³ã°ããã¦ããã¨PHPã§ä¸¦è¡å¦çããã£ã¦ã¿ã(ã»ããã©, semaphore)ãèãã¦synchronizedããã¾ãã«ãééã£ã¦ãããã¨ã«æ°ãã¤ããã ããå°ãã¾ã¨ãã¦ããããªã¯ã©ã¹ãæ¸ãã¦ã¿ãããã¨ã PHPã§åºæ¥ãªããã¨ã¯ãã¬ã¼ã ã¯ã¼ã¯ãã«ãã¼ããã°ã§ããããã«ãªãã§ãããã ã¡ãªã¿ã«å ãã¿ã¯rubyã®Threadå¨è¾ºãåèã Threadã®ã¤ã³ã¿ãã§ã¼ã¹ã¨ããåã£ã¦ã¿ããã /** * Threadã®ã¤ã³ã¿ãã§ã¼ã¹ã§ãã * Threadã¯Runnableãç¶æ¿ãã¾ãã */ interface Thread extends Runnable { /** * æ°ããthreadãçæãã¾ãã */ public function start(); /** * ç¾å¨å®è¡ãã¦ããthreadãçµäºãã¾ãã */ public function shutdown()
{{#tags}}- {{label}}
{{/tags}}