結果 : reader writer problem solution using semaphore