{"repo":"crossbeam-rs/crossbeam","free":true,"listed":false,"github":"https://github.com/crossbeam-rs/crossbeam","clone":"git clone https://github.com/crossbeam-rs/crossbeam.git","description":"Tools for concurrent programming in Rust","language":"Rust","stars":8553,"topics":["synchronization","concurrency","parallelism","threads","lock-free","data-structures","rust"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"Crossbeam This crate provides a set of tools for concurrent programming: Atomics [ AtomicCell ], a thread-safe mutable memory location. (no std) [ AtomicConsume ], for reading from primitive atomic types with \"consume\" ordering. (no std) Data structures [ deque ], work-stealing deques for building task schedulers. [ ArrayQueue ], a bounded MPMC queue that allocates a fixed-capacity buffer on construction. (alloc) [ SegQueue ], an unbounded MPMC queue that allocates small buffers, segments, on demand. (alloc) Memory management [ epoch ], an epoch-based garbage collector. (alloc) Thread synchronization [ channel ], multi-producer multi-consumer channels for message passing. [ Parker ], a thread parking primitive. [ ShardedLock ], a sharded reader-writer lock with fast concurrent reads. [ WaitGroup ], for synchronizing the beginning or end of some computation. Utilities [ Backoff ], for exponential backoff in spin loops. (no std) [ CachePadded ], for padding and aligning a value to the length of a cache line. (no std) [ scope ], for spawning threads that borrow local variables from the stack. Features marked with (no std) can be used in no std environments. Features marked with (alloc) can be used in no std environments, but only if alloc feature is enabled. [ AtomicCell ]: https://docs.rs/crossbeam/latest/crossbeam/atomic/struct.AtomicCell.html [ AtomicConsume ]: https://docs.rs/crossbeam/latest/crossbeam/atomic/trait.AtomicConsume.html [ deque ]: https://docs.rs/crossbeam/late","default_branch":null,"files":null,"tree":[],"storefront":"/r/crossbeam-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/crossbeam-rs/crossbeam/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}