notify wait producer consumer threads