differenct cond for consumer/producer; timedwait for better control.