Mutex class
- add conf.gem line to
build_config.rb
MRuby::Build.new do |conf|
# ... (snip) ...
conf.gem :github => 'matsumoto-r/mruby-mutex'
endm = Mutex.new
# for global
# m = Mutex.new :global => true
m.lock
# critical section
m.unlockunder the MIT License:
- see LICENSE file
