monitors condition variables and the readers writers problem 6327509