devel/rubygem-thread-local 1.1.0 DragonFly
Provide a class-level mixin to make thread local state easy
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, rubygems
- Package size
- 3.1 KiB, 5.7 KiB installed
Description
Thread::Local provides a simple high level interface for per-class thread locals. Implements a standard interface for "shared global state". It avoids reinventing thread-local semantics in your own code by using this implementation.
Features:
- Convert global state to thread local state easily.
- Avoid race conditions and data corruption.
- Provides a standard interface for policy driven design.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/rubygem-thread-local | 1.1.0 |
| FreeBSD | devel/rubygem-thread-local | 1.1.0 |
Install
Binary package:
pkg install rubygem-thread-local
From DPorts:
cd /usr/dports/devel/rubygem-thread-local && make install clean