WorkQueue.this

this(size_t capacity = 0) @trusted

Construct a work queue with the specified capacity.

Parameters

capacityMaximum number of work items the queue can hold. Use 0 for unbounded (dynamically growing) queue.