Each queue element should have two elements which can individually be dequeued Like a queue within a queue
If "each queue element contains 2 elements that can be individually dequeued"; what is the difference between a your 2D-queue containing one, two-element element; and a normal queue containing two, single-element elements pushed by the same producer at the same time?
In reply to Re^3: How to create a two dimensional queue in Perl
by BrowserUk
in thread How to create a two dimensional queue in Perl
by meena
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |