Module lockfree::set

source ·
Expand description

A lock-free set.

Structs

An iterator over elements of a Set. The Item of this iterator is a ReadGuard.
RandomState is the default state for HashMap types.
A read-operation guard. This ensures no element allocation is mutated or freed while potential reads are performed.
A removed element. It can be reinserted at the same Set it was removed. It can also be inserted on another Set, but only if either the Set is dropped or there are no sensitive reads running on that Set.
A lock-free set. This is currently implemented on top of Map. To check more details about it, please see Map docs.

Enums

An insert operation result.