Skip to main content

Module fast_mutex

Module fast_mutex 

Source
Expand description

A Fail Fast Mutex

This implementation is not meant to be used outside the LockPool, as this by itself falls short in many concurrency pitfalls (only ensuring mutual exclusion)

Structs§

FastMutex
A lightweight, fail fast, mutex implementation
FastMutexGuard
The FastMutex’s guard, releasing the lock when going out of scope.

Constants§

LOCKED
UNLOCKED