A simple implementation of a classical IPC problem--Producer&Consumer
problem using xcode