threadlock

threadlock

Use the threadlock method in your class definition to automatically run instance methods inside of an instance-wide re-entrant lock (Monitor). All locked methods in an instance are protected by a single lock, unless a specific lock is specified. You can protect all or some of your methods from being run concurrently. In Ruby>=2.1, threadlock can also be used as a syntactic decorator. Enjoy.

Rubygem threadlock

Total Downloads
2446
Releases
8
Current Version
2.0.0
Released
2013-12-19 00:00:00 UTC
First Release
2013-07-02 00:00:00 UTC
Depends on following gems
Depending Gems
2

Github jemc/threadlock

Watchers
0
Forks
0
Development activity
Less active
Last commit
2013-12-20 03:45:21 UTC
First commit
Top contributors
Contributors
1
Issues

Resources

There are no resources yet, be the first to submit one!

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.