Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutexStack ¶
type MutexStack[T any] struct { // contains filtered or unexported fields }
func NewMutexStack ¶
func NewMutexStack[T any]() *MutexStack[T]
func (*MutexStack[T]) Pop ¶
func (s *MutexStack[T]) Pop() (T, bool)
func (*MutexStack[T]) Push ¶
func (s *MutexStack[T]) Push(v T)
Click to show internal directories.
Click to hide internal directories.