✅ Suggestions for something like ConcurrentQueue with events

C# beginner question... I have an app with multiple threads. I need to pass data from one thread to the other using some form of FIFO queue. I can use ConcurrentQueue, however it doesn't appear to have any events available for enqueue or dequeue, which means I would need to poll the queue for new items, which doesn't seem like the right thing to do. I could add my own events, but that also seems like reinventing the wheel. Surely this is a very common situation. Are there any threadsafe queue techniques or libraries I can use with events available?
Was this page helpful?