Skip to content

v0.2.0

Latest

Choose a tag to compare

@CleveGreen CleveGreen released this 01 Mar 21:14

Enhance LockPool with ergonomic and unsafe APIs

  • Introduce From<[T; SIZE]> impl for ergonomic array to LockPool conversion.
  • Add iterator over FastMutexes for flexible lock management.
  • Expose FastMutex implementation for advanced use cases.
  • Implement unsafe peek() for unsynchronized value access, with detailed safety documentation.
  • Add try_while_locked() for conditional exclusive access operations.

These changes aim to improve usability, offer more control to users, and ensure safety through clear documentation and suggested testing practices.