I have an application that is currently using three threads, all set for real-time scheduling, for receiving data over a udp socket connection. I use three threads to try and speed up the data pipeline, i.e. one polls for data and pulls it from the recv buffer, another copies the data into a Queue, and another writes to file.
Will having multiple real-time threads cause problems in the udp connection, for example if the thread trying to copy data takes contention over the thread trying to grab data from the buffer?