chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

ReservedNames::Win32::Mutex#test

Attempts to grab the mutex.
Returns true if the mutex is grabbed or if it's already
owned; false otherwise.

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/win32/mutex.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ReservedNames--Win32--Mutex-test-for-pr


# Commit to git

git add lib/chef/win32/mutex.rbgit commit -m "better docs for ReservedNames::Win32::Mutex#test"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-ReservedNames--Win32--Mutex-test-for-pr

hub pull-request


# Celebrate!