Skip to content

matsumotory/mruby-mutex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mruby-mutex Build Status

Mutex class

install by mrbgems

  • add conf.gem line to build_config.rb
MRuby::Build.new do |conf|

    # ... (snip) ...

    conf.gem :github => 'matsumoto-r/mruby-mutex'
end

example

m = Mutex.new
# for global
# m = Mutex.new :global => true
m.lock
# critical section
m.unlock

License

under the MIT License:

  • see LICENSE file

About

mutex class for mruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •