Test code muti-thread:producer and consumer