RubyGems Navigation menu

threadlock 2.0.0

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.

版本列表:

  1. 2.0.0 - December 20, 2013 (6.0 KB)
  2. 1.3.2 - October 06, 2013 (6.0 KB)
  3. 1.3.1 - September 29, 2013 (6.0 KB)
  4. 1.3.0 - September 25, 2013 (6.0 KB)
  5. 1.2.1 - July 23, 2013 (5.5 KB)
显示所有 (8 个版本)

所有者:

作者:

  • Joe McIlvain

SHA 256 checksum:

fa8ee83bfb279a25078e0eb20d3efe12407092cd439253bd15ebd47bb506c011

下载总次数 15,405

这个版本 3,013

Gemfile:
= 复制到剪贴板 已复制

安装:
=

许可:

MIT License, Copyright 2013 Joe McIlvain

需要的 Ruby 版本:

相关链接: