Function DuplexQueue.open

Register number of worker threads

void open (
  size_t numWorkers
);

Must be called before using the queue.