Single producer and single consumer up