This application generates data and write them to the shared memory.