Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Treiber

Go's concurrent and lock-free data structures are based on a concept known as a Treiber stack.

This package contains data structures:

Stack

implements methods:

  • Push – adds an element to the collection.
  • Pop – removes the most recently added element.
  • Top – retrieves the value from the top of the stack.

Queue

implements methods:

  • Push – adds an element to the end of the queue.
  • Pop – removes an element from the beginning of the queue.

Deque

implements methods:

  • PushBack – adds an element to the end of the deque.
  • PushFront – adds an element to the beginning of the deque.
  • PopBack – removes an element from the end of the deque.
  • PopFront – removes an element from the beginning of the deque.

About

Go's concurrent and scalable lock-free data structures are based on the concept of a Treiber stack.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.