Documentation ¶
Overview ¶
tagstack is a package that manages concurrent safe tag stacks. A caller uses the provided Push and Pop functions to push uint32 values onto/from the stack. It is the callers responsibility ensure uniqueness of the tags if this is desired.
tagstack deliberately uses uint32 instead of interface{} for performance reasons.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrOverflow = errors.New("overflow") ErrUnderflow = errors.New("underflow") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.