RubyGems Navigation menu

threadlock 1.1.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. The goal is to be able to easily make basic objects threadsafe with as little thought and code as using the attr_accessor family of functions to make your instance attributes accessible. The codebase is small and I intend to keep it that way, but bug reports and patches are welcome. Enjoy.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 2.0.0 - December 20, 2013 (6KB)
  2. 1.3.2 - October 06, 2013 (6KB)
  3. 1.3.1 - September 29, 2013 (6KB)
  4. 1.3.0 - September 25, 2013 (6KB)
  5. 1.2.1 - July 23, 2013 (5.5KB)
  6. 1.1.0 - July 03, 2013 (5.5KB)
全てのバージョンを表示(全8件)

所有者:

作者:

  • Joe McIlvain

SHA 256チェックサム:

a620739fc2e5b6a39324aa0bda16ac95cd13ebe9afb87e02f17ca0898c4de900

累計ダウンロード数 21,852

このバージョンのみ 2,517

ライセンス:

MIT License, Copyright 2013 Joe McIlvain

必要なRubyのバージョン: なし

リンク: