Versions in this module Expand all Collapse all v0 v0.4.2 Jun 28, 2019 v0.4.1 Jun 13, 2019 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{}))