Blocking collection not empty RRS feed

  • Question

  • Hi ,

    In one of our projects we are using producer and consumer pattern.

    One thread we are adding items to blocking collection.

    Using for loop we are opening for 10 threads processing blocking collection items.

    Its works for some times but some times items in blockingcollection not removing properly and it goes to infinite loop.

    Any help on this?


    Friday, June 1, 2018 2:41 PM

All replies