Calling ConcurentQueue.Enque from Multiple Theads RRS feed

  • Question

  • Hello,
    I have a telephony app that has 92 threads handling up to 92 concurrent calls. All these threads must pass information to another, single thread. So I’m using a ConcurentQueue to do this. I have a single method which is called by all the threads, and this method contains the call to Enque.

    My question is, is the ConcurentQueue able to handle all those concurrent calls to Enque? Or should I put a lock around it? Or is there a better way to do this?

    Thank you,

    Friday, October 19, 2018 8:35 PM


All replies