1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

This module provides thread-safe FIFO queues that can be accessed safely

by any number of threads.

Any data types supported by threads::shared can be passed via queues:
- Ordinary scalars
- Array refs
- Hash refs
- Scalar refs
- Objects based on the above

Ordinary scalars are added to queues as they are.

WWW: http://search.cpan.org/dist/Thread-Queue/

PR:		ports/135181
Submitted by:	Cezary Morga <cm AT therek.net>
This commit is contained in:
Beat Gaetzi 2009-06-20 19:32:49 +00:00
parent 633cd7fd8a
commit ad18a4f078
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236380
5 changed files with 47 additions and 0 deletions

View File

@ -1951,6 +1951,7 @@
SUBDIR += p5-Thread-Apartment
SUBDIR += p5-Thread-Cancel
SUBDIR += p5-Thread-Pool-Simple
SUBDIR += p5-Thread-Queue
SUBDIR += p5-Thread-Queue-Duplex
SUBDIR += p5-Thread-Suspend
SUBDIR += p5-Thrift

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: p5-Thread-Queue
# Date created: June 2nd 2009
# Whom: Cezary Morga <cm@therek.net>
#
# $FreeBSD$
#
PORTNAME= Thread-Queue
PORTVERSION= 2.11
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= cm@therek.net
COMMENT= Perl5 thread-safe queues
BUILD_DEPENDS= p5-Scalar-List-Utils>=1.10:${PORTSDIR}/lang/p5-Scalar-List-Utils \
p5-threads-shared>=1.26:${PORTSDIR}/devel/p5-threads-shared
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
MAN3= Thread::Queue.3
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (Thread-Queue-2.11.tar.gz) = 955df887847e767dfeecbd3ead490606
SHA256 (Thread-Queue-2.11.tar.gz) = f8c45414e6d7a03964575435a50446ef0b33b55d8130b957b5551056a81a480c
SIZE (Thread-Queue-2.11.tar.gz) = 10879

View File

@ -0,0 +1,13 @@
This module provides thread-safe FIFO queues that can be accessed safely
by any number of threads.
Any data types supported by threads::shared can be passed via queues:
- Ordinary scalars
- Array refs
- Hash refs
- Scalar refs
- Objects based on the above
Ordinary scalars are added to queues as they are.
WWW: http://search.cpan.org/dist/Thread-Queue/

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/Thread/Queue.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Queue/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Queue
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread
@dirrmtry %%SITE_PERL%%/Thread