結果 : mutual exclusion using semaphore