FICHA · MANJARO

ruby-thread-local

Provides a class-level mixin to make thread local state easy

  • Library
  • LIBRARY
  • Dependency only
official+codex · reviewed · May 29, 2026 description in en

Description

Adds a mixin for class-level thread-local state in Ruby. It is useful when libraries need per-thread context without sharing values across every thread in the process.

Thread-local state can leak between requests or jobs in thread pools. Clear context after use and avoid storing long-lived secrets there.

Permissions

Permissions not analysed for this source yet.