Registry / utility / mutex-m

mutex-m

JSON →
library0.3.0rbrubygemsunverified

Mixin to extend objects to be handled like a Mutex for thread synchronization.

gem install mutex_m
INSTALL
IMPORT
SIG · MUTEX-M
M
mutex-m
utilityrubyv0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mutex_m
require 'mutex_m'

Make an object thread-safe with Mutex_m

require 'mutex_m' class Counter include Mutex_m attr_accessor :count end counter = Counter.new counter.synchronize { counter.count = 0 }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
mutex-m — gem install mutex-m · libregistry