I need to send information to every thread that's running in my program, and every thread has to process that information.
I can't do it using a regular queue, because that way once one thread removes the data from the queue all the other threads won't be able to see it anymore.
What's the best way of achieving this?
See Question&Answers more detail:os