which is better POSIX Message Queue or PIPES for producer consumer problem
问题 I have a producer Thread as well as consumer thread where producer runs faster than consumer i need to transfer data from producer and process it on consumer, producer will give an array of 1000 elements every second and consumer should wait till it has 10 sets of arrays and will process it (consumer runs every 10 seconds) i could see that we can modify POSIX message queue to input an array of 1000 elements double array which is a better method to transfer real data, POXIS message queue or