An open API service indexing awesome lists of open source software.

https://github.com/seeadoog/priority_queue

implimetion of priority_queue for go, blocking
https://github.com/seeadoog/priority_queue

Last synced: 2 months ago
JSON representation

implimetion of priority_queue for go, blocking

Awesome Lists containing this project

README

        

#### introduce
Priority Queue that implements by golang based on heap sort.

Queue interface has two implements:


```
type Queue interface {
Add(data interface{})
Remove() interface{}
Top() interface{}
Size() int
}

```

implement|goroutine secure|blocked
---|---|---
PriorityQueue|No|No
BlockingPriorityQueue|Yes|Yes