This module adds suspend and resume operations for threads.

Suspensions are cumulative, and need to be matched by an equal number of
resume calls.

PR:		ports/110476
Submitted by:	Ruben van Staveren <ruben@verweg.com>
This commit is contained in:
Wesley Shields 2009-01-12 19:54:46 +00:00
parent 8489fe22d3
commit a00474e753
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225870
5 changed files with 56 additions and 0 deletions

View file

@ -1839,6 +1839,7 @@
SUBDIR += p5-Thread-Cancel
SUBDIR += p5-Thread-Pool-Simple
SUBDIR += p5-Thread-Queue-Duplex
SUBDIR += p5-Thread-Suspend
SUBDIR += p5-Thrift
SUBDIR += p5-Tie-Array-Pack
SUBDIR += p5-Tie-Array-Sorted

View file

@ -0,0 +1,38 @@
# New ports collection makefile for: p5-Thread-Suspend
# Date created: 2007-03-18
# Whom: Ruben van Staveren
#
# $FreeBSD$
#
PORTNAME= Thread-Suspend
PORTVERSION= 1.19
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Thread
PKGNAMEPREFIX= p5-
MAINTAINER= ruben@verweg.com
COMMENT= Suspend and resume operations for threads
RUN_DEPENDS= p5-threads>=1.39:${PORTSDIR}/devel/p5-threads \
p5-threads-shared>=1.01:${PORTSDIR}/devel/p5-threads-shared
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Thread::Suspend.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again
.endif
pre-everything::
@${ECHO_MSG} "--------------------------------------------------------"
@${ECHO_MSG} "This module requires a threaded perl. If your install"
@${ECHO_MSG} "is not threaded please install lang/perl5.8 with threads"
@${ECHO_MSG} "--------------------------------------------------------"
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
MD5 (Thread-Suspend-1.19.tar.gz) = b2a7066f4023fc0eeea3f6fac8dbfb7c
SHA256 (Thread-Suspend-1.19.tar.gz) = e0f5e27229a2fc731e07c39eb715d8cb19e82b9fa8705275de6540461a9954c7
SIZE (Thread-Suspend-1.19.tar.gz) = 7484

View file

@ -0,0 +1,7 @@
This module adds suspend and resume operations for threads.
Suspensions are cumulative, and need to be matched by an equal number of resume
calls.
WWW: http://search.cpan.org/dist/Thread-Suspend/

View file

@ -0,0 +1,7 @@
@comment $FreeBSD$
%%SITE_PERL%%/Thread/Suspend.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Suspend/.packlist
@dirrmtry %%SITE_PERL%%/Thread/Suspend
@dirrmtry %%SITE_PERL%%/Thread
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Suspend
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread