Conditional variable added.(only the consumer).