{"id":78337,"library":"thread-safe","title":"ThreadSafe","description":"A collection of data structures and utilities to make thread-safe programming in Ruby easier.","status":"active","version":"0.3.6","language":"ruby","source_language":null,"source_url":"https://github.com/ruby-concurrency/thread_safe","tags":["thread-safety","concurrency","data-structures","utilities"],"install":[{"cmd":"gem install thread_safe","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'thread_safe', '~> 0.3.6'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"ThreadSafe","correct":"require 'thread_safe'"}],"quickstart":{"code":"require 'thread_safe'\narray = ThreadSafe::Array.new\narray << 1\nputs array[0]","lang":"ruby","description":"Create and use a thread-safe array"},"warnings":[{"fix":"Use the concurrent-ruby gem instead","message":"Deprecated in favor of concurrent-ruby gem","severity":"breaking","affected_versions":">= 0.3.6"}],"env_vars":null,"search_vec":"'collect':3 'concurr':21 'data':5,23 'data-structur':22 'easier':17 'make':10 'program':14 'rubi':16 'safe':13 'safeti':20 'structur':6,24 'thread':12,19 'thread-saf':11 'thread-safeti':18 'threadsaf':1 'util':8,25","created_at":"2026-06-18T04:14:22.044135+00:00","updated_at":"2026-06-18T04:14:22.044135+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ruby-concurrency/thread_safe","github":"https://github.com/ruby-concurrency/thread_safe","docs":"http://www.rubydoc.info/gems/thread_safe/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}