{"id":81025,"library":"mutex-m","title":"Mutex_m","description":"Mixin to extend objects to be handled like a Mutex for thread synchronization.","status":"active","version":"0.3.0","language":"ruby","source_language":null,"source_url":"https://github.com/ruby/mutex_m","tags":["thread","synchronization","mutex","concurrency"],"install":[{"cmd":"gem install mutex_m","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'mutex_m', '~> 0.3.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Mutex_m","correct":"require 'mutex_m'"}],"quickstart":{"code":"require 'mutex_m'\nclass Counter\n  include Mutex_m\n  attr_accessor :count\nend\ncounter = Counter.new\ncounter.synchronize { counter.count = 0 }","lang":"ruby","description":"Make an object thread-safe with Mutex_m"},"warnings":[],"env_vars":null,"search_vec":"'concurr':19 'extend':5 'handl':9 'like':10 'm':2 'mixin':3 'mutex':1,12,18 'object':6 'synchron':15,17 'thread':14,16","created_at":"2026-06-18T05:41:57.449534+00:00","updated_at":"2026-06-18T05:41:57.449534+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/mutex_m","github":"https://github.com/ruby/mutex_m","docs":"http://www.rubydoc.info/gems/mutex_m/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"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}}