RubyGems Navigation menu

threadlock 1.3.0

Use the threadlock function 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 protect by a single lock. You can protect all or some of your methods from being run asynchronously. In Ruby>=2.1, threadlock can also be syntactically used as a decorator.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 2.0.0 - December 20, 2013 (6 KB)
  2. 1.3.2 - October 06, 2013 (6 KB)
  3. 1.3.1 - September 29, 2013 (6 KB)
  4. 1.3.0 - September 25, 2013 (6 KB)
  5. 1.2.1 - July 23, 2013 (5.5 KB)
Show all versions (8 total)

Owners:

Authors:

  • Joe McIlvain

SHA 256 checksum:

4a7b56a1734ede6635456ed699459b181d11244a8b5396d108b1765e70d954f1

Total downloads 21,836

For this version 2,516

Licenses:

MIT License, Copyright 2013 Joe McIlvain

Required Ruby Version: None

Links: