[ 原始碼: ruby-threach ]
套件:ruby-threach(0.2.0-2)
Threaded each
An addition to the Enumerable Ruby module that allows easy use of threaded each and each-like iterators. It's a very simple producer-consumer model.
If you're using stock (MRI) ruby -- you probably shouldn't bother with threach unless you're doing IO-intensive stuff. It'll just slow things down. But if you're using a ruby implementation that has real threads, like JRuby, this will give you relatively painless multi-threading.
其他與 ruby-threach 有關的套件
|
|
|
|
-
- dep: ruby
- Interpreter of object-oriented scripting language Ruby (default version)
- 或者 ruby-interpreter
- 套件暫時不可用