void *consumer (void *id) { int id_ = conSerial;//this is a global variable for recording the number of consumer.eg:consumer(1),consumer(2) conSerial++; int sl