lock_free_hashtable/
lib.rs

1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under both the MIT license found in the
5 * LICENSE-MIT file in the root directory of this source tree and the Apache
6 * License, Version 2.0 found in the LICENSE-APACHE file in the root directory
7 * of this source tree.
8 */
9
10//! (Almost) lock-free insertion only hashtable.
11//!
12//! Lookups are performed without locking (wait-free).
13//! Insertions are performed with a shared lock (lock-free unless resize is needed).
14//! Resizing is performed with an exclusive lock.
15//!
16//! Entries are never removed (until the table is dropped).
17
18#![deny(missing_docs)]
19
20pub mod atomic_value;
21mod fixed_cap;
22pub mod raw;
23pub mod sharded;