synqueue

Crates.iosynqueue
lib.rssynqueue
version0.1.0
sourcesrc
created_at2022-05-29 04:57:35.678025
updated_at2022-05-29 04:57:35.678025
descriptionInternally synchronized (MPMC) queue
homepagehttps://github.com/kvark/synqueue
repository
max_upload_size
id596299
size12,260
Dzmitry Malyshau (kvark)

documentation

README

synqueue

Build Status

This is an experimental queue to be used in multi-threaded scenarios, like the task processors. More specifically:

  • internally synchronized for both consumers and producers (MPMC).
  • backed by an array, which is fast to access
  • bounded: the capacity is specified at creation

Unlike other implementations, such as crossbeam-queue, it doesn't carry a atomic bit per element. Checked by both Miri and Loom on CI.

Note: experimental and currently slower than alternatives.

Commit count: 0

cargo fmt