Categories: None [Edit]

threadlock

https://rubygems.org/gems/threadlock
https://github.com/jemc/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.

Total

Ranking: 46,292 of 184,502
Downloads: 22,891

Daily

Ranking: 57,505 of 184,487
Downloads: 0

Depended by

RankDownloadsName
14,375126,891wires
48,64921,404hegemon

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconjemc