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.
Activity
- Latest release
- 12y ago
- Total releases
- 8
- Cadence
- ~7 days
- Last 12 months
- 0
Details
- License
- MIT OR unknown
- First release
- Jul 02, 2013
Releases
| Version | Released | |
|---|---|---|
2.0.0
major
| ||
1.3.2
patch
| ||
1.3.1
patch
| ||
1.3.0
minor
| ||
1.2.1
patch
| ||
1.2.0
minor
| ||
1.1.0
minor
| ||
1.0.0
initial
|