1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
This commit is contained in:
Darien Raymond 2015-12-04 12:13:35 +00:00
parent 6bb53251e9
commit 3942679371

View File

@ -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