Crates.io | nolock |
lib.rs | nolock |
version | 0.4.1 |
source | src |
created_at | 2021-07-05 18:22:15.131921 |
updated_at | 2022-09-03 12:53:16.004745 |
description | A collection of Lock-Free Datastructures |
homepage | |
repository | https://github.com/Lol3rrr/nolock |
max_upload_size | |
id | 419110 |
size | 424,924 |
A collection of Lock-Free (sometimes also Wait-Free) algorithms and datastructures
The Goal of this Crate is to provide a save, easy to use and fast implementation for a variety of different Lock-Free or Wait-Free datastructures.
Rust's no_std is supported for parts of this crate, to use this you need to disable the default features of the Crate and can then enable the specific features you need. Currently supported are:
Name | Default | Description |
---|---|---|
std | true | Enables the std, which is needed for most of the other Features |
queues | true | Enables the different Queues implementation |
hash_trie | true | Enables the Hash-Trie-Map implementation |
async | true | Enables async varients of different Datastructures |
thread_data | true | Enables the lockfree Thread-Local-Storage |
hazard_ptr | true | Enables the Hazard-Pointer implementation |
hyaline | true | Enables the Hyaline implementation |
full | true | Enables all Feature-Flags |
cargo bench --bench criterion_bench --
cargo bench --bench criterion_bench -- --profile-time=5