Versions in this module Expand all Collapse all v1 v1.1.0 Dec 30, 2020 Changes in this version + var ErrContention = errors.New("contention") + type PriorityQueue struct + Queues []chan interface{} + func New(n int, l int) *PriorityQueue + func (pq *PriorityQueue) Push(x interface{}, p int) error + func (pq *PriorityQueue) Run(ctx context.Context, f func(interface{}))