if (mailboxSize < 0) {
queue = new SingleConsumerLinkedArrayDoubleQueue();
} else if (policy == OverflowPolicy.DISPLACE) {
queue = new CircularDoubleBuffer(mailboxSize, singleProducer);
} else
queue = new SingleConsumerArrayDoubleQueue(mailboxSize);
return new QueueDoubleChannel(queue, policy);
}