//ä¸ç§éï¼1000ããªç§ï¼åæ¢ãã System.Threading.Thread.Sleep(1000); Thread.SpinWaitã¡ã½ããæå®ããæéç¾å¨ã®ã¹ã¬ãããåæ¢ããã¡ã½ããã«ãThread.SpinWaitã¡ã½ããã¨ãããã®ãããã¾ããThread.SpinWaitã¡ã½ããã¯ãThread.Sleepã¡ã½ããã®ããã«æéãç§åä½ã§æå®ããã®ã§ã¯ãªããã«ã¼ãã«ã¦ã³ãï¼ã«ã¼ãããåæ°ï¼ã§æå®ãã¾ãããã®ãããåãæ°å¤ãæå®ãã¦ããå¾ æ©ããæéã¯CPUã«ãã£ã¦å¤ããã¾ãã Thread.SpinWaitã¡ã½ããã¯ãThread.Sleepã¡ã½ããã¨éããã«ã¼ããããã¨ã§å¾ æ©ãã¾ãã®ã§ãCPUãã»ã¼100%å æãã¾ããã¾ããThread.Sleepã¡ã½ãããå¼ã³åºããå ´åã¯ãæ®ãã®ã¿ã¤ã ã¹ã©ã¤ã¹ãæ¾æ£ãã¦ãå®è¡ã®æºåãã§ãã¦ããä»ã®ã¹ã¬ããã«å¦çãåãã¾ãããThread.S
{{#tags}}- {{label}}
{{/tags}}