這個頁面已搬到 https://blog.longhopick.com/2026/03/14/Java-併發控制-Semaphore-與-volatile/