Public Member Functions | |
subroutine | qrm_queue_init (q, nelems, pol) |
Initializes a queue. More... | |
Definition at line 71 of file qrm_queue_mod.F90.
subroutine qrm_queue_mod::qrm_queue_init::qrm_queue_init | ( | type(qrm_queue) | q, |
integer | nelems, | ||
integer | pol | ||
) |
Initializes a queue.
[in,out] | q | the queue to be initialized |
[in] | nelems | the max number of elements the queu can hold. This actually corresponds to the range of IDs of the elements that can be pushed on the queue |
[in] | pol | the policy (either qrm_fifo_ or qrm_lifo_) |
Definition at line 89 of file qrm_queue_mod.F90.