Skip to content

Instantly share code, notes, and snippets.

@kaiinui
Created June 12, 2014 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaiinui/7fd6dc97c39f2f15fffa to your computer and use it in GitHub Desktop.
Save kaiinui/7fd6dc97c39f2f15fffa to your computer and use it in GitHub Desktop.
[WIP ]CloudLock Specification
#
# Amazon DynamoDB powered distributed Lock system
#
CloudLock.lock("sample_name") do
do_something
end # on the end, lock will be unlocked
# also unlock is available
CloudLock.unlock("sample_name")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment