mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-18 02:16:10 -05:00
doc
This commit is contained in:
parent
6bb53251e9
commit
3942679371
@ -39,6 +39,7 @@ func (queue *timedQueueImpl) Pop() interface{} {
|
|||||||
return v
|
return v
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TimedQueue is a priority queue that entries with oldest timestamp get removed first.
|
||||||
type TimedQueue struct {
|
type TimedQueue struct {
|
||||||
queue timedQueueImpl
|
queue timedQueueImpl
|
||||||
access sync.RWMutex
|
access sync.RWMutex
|
||||||
|
Loading…
Reference in New Issue
Block a user