Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.36 KB

README.md

File metadata and controls

37 lines (30 loc) · 1.36 KB

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