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.
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
devel/rubygem-thread-local: Add rubygem-thread-local 1.1.0
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.