Skip to content

hayabusa-cloud/concurrent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

concurrent

Concurrent is a library of lock-free and wait-free algorithms

Environment Requirements

Currently only supporting amd64 architecture

Basic Usage

c, p := concurrent.NewMPMCQueue[int](1024)
i := 100
err := p.Enqueue(&i)
if err != nil {
	return err
}
res, err := c.Dequeue()
if err != nil {
	return err
}
println(res)

Next Step

Implement the sCQ lock-free FIFO queue

References

License

©2023 Hayabusa Cloud Co., Ltd.
#5F Eclat BLDG, 3-6-2 Shibuya, Shibuya City, Tokyo 150-0002, Japan
Released under the MIT license

About

(WIP)a library of lock-free concurrent algorithms

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published