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.
main
Po-Chuan Hsieh 2024-05-16 14:13:42 +08:00
parent b5932aba5e
commit 8d3d944950
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 29 additions and 0 deletions

View File

@ -7618,6 +7618,7 @@
SUBDIR += rubygem-thor
SUBDIR += rubygem-thor0
SUBDIR += rubygem-thor12
SUBDIR += rubygem-thread-local
SUBDIR += rubygem-thread_safe
SUBDIR += rubygem-thrift
SUBDIR += rubygem-thwait

View File

@ -0,0 +1,16 @@
PORTNAME= thread-local
PORTVERSION= 1.1.0
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Provide a class-level mixin to make thread local state easy
WWW= https://github.com/socketry/thread-local
LICENSE= MIT
USES= gem
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1714227814
SHA256 (rubygem/thread-local-1.1.0.gem) = 2fb568d31f0ef278063f45a3923c5ed62ee5c33da8134103bc7d2ecdb87bd2e7
SIZE (rubygem/thread-local-1.1.0.gem) = 6144

View File

@ -0,0 +1,9 @@
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.