mirror of https://git.freebsd.org/ports.git
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
parent
b5932aba5e
commit
8d3d944950
|
@ -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
|
||||
|
|
|
@ -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>
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1714227814
|
||||
SHA256 (rubygem/thread-local-1.1.0.gem) = 2fb568d31f0ef278063f45a3923c5ed62ee5c33da8134103bc7d2ecdb87bd2e7
|
||||
SIZE (rubygem/thread-local-1.1.0.gem) = 6144
|
|
@ -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.
|
Loading…
Reference in New Issue