SCMPQueue.addProducers

Register number of producers

For the algorithm to know, the queue must know how many concurrent threads might be pushing data at any point. This function add producers to the number of currently registered producers.

This function must only be called from the main thread, and before any queue activity has actually started.

  1. void addProducers(size_t numProducers)
    struct SCMPQueue(T, size_t size)
    nothrow @nogc @safe
    void
    addProducers
    ()
  2. void addProducer()

Meta