[][src]Crate sled_sync

Structs

Atomic

An atomic pointer that can be safely shared between threads.

Guard

A guard that keeps the current thread pinned.

Owned

An owned heap-allocated object.

Shared

A pointer to an object protected by the epoch GC.

Functions

debug_delay

This function is useful for inducing random jitter into our atomic operations, shaking out more possible interleavings quickly. It gets fully elliminated by the compiler in non-test code.

pin

Pins the current thread.

unprotected

Returns a reference to a dummy guard that allows unprotected access to Atomics.