8 releases (5 breaking)
0.6.0 | Aug 4, 2024 |
---|---|
0.5.1 | Aug 2, 2024 |
0.4.3 | Aug 1, 2024 |
0.3.0 | Jul 26, 2024 |
0.1.1 | Jul 26, 2024 |
#299 in Concurrency
1,545 downloads per month
19KB
377 lines
init_once
The init_once
crate provides a mechanic to attempt to read a value without
blocking the caller, in case it is being initialized concurrently. Such an
abstraction might be useful in cache implementations whose consumers might
not want to block on the cache to fill up with data.
lib.rs
:
The init_once
crate provides a mechanic to attempt to read a value without
blocking the caller, in case it is being initialized concurrently. Such an
abstraction might be useful in cache implementations whose consumers might
not want to block on the cache to fill up with data.
Dependencies
~1MB
~18K SLoC