Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue interface { Enqueue(v interface{}) Dequeue() interface{} }
Queue is a FIFO data structure. Push puts a value into its tail, Pop removes a value from its head. It returns nil if the queue is empty. https://colobu.com/2020/08/14/lock-free-queue-in-go/ https://zhuanlan.zhihu.com/p/39005435
Click to show internal directories.
Click to hide internal directories.