summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/ext/Thread/Thread.pm
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-05-24 18:21:31 +0000
committermillert <millert@openbsd.org>2001-05-24 18:21:31 +0000
commitc48bdce47de487644c5bf49fc71f7db60e4f07d6 (patch)
tree1044cea90429d4b1485356ed038fb38b7dba2eb2 /gnu/usr.bin/perl/ext/Thread/Thread.pm
parentAdd isakmpd.pid to the FILES section. (diff)
downloadwireguard-openbsd-c48bdce47de487644c5bf49fc71f7db60e4f07d6.tar.xz
wireguard-openbsd-c48bdce47de487644c5bf49fc71f7db60e4f07d6.zip
stock perl 5.6.1
Diffstat (limited to 'gnu/usr.bin/perl/ext/Thread/Thread.pm')
-rw-r--r--gnu/usr.bin/perl/ext/Thread/Thread.pm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/ext/Thread/Thread.pm b/gnu/usr.bin/perl/ext/Thread/Thread.pm
index 00cba8af673..23f9fe51384 100644
--- a/gnu/usr.bin/perl/ext/Thread/Thread.pm
+++ b/gnu/usr.bin/perl/ext/Thread/Thread.pm
@@ -12,6 +12,15 @@ $VERSION = "1.0";
Thread - manipulate threads in Perl (EXPERIMENTAL, subject to change)
+=head1 CAVEAT
+
+The Thread extension requires Perl to be built in a particular way to
+enable the older 5.005 threading model. Just to confuse matters, there
+is an alternate threading model known as "ithreads" that does NOT
+support this extension. If you are using a binary distribution such
+as ActivePerl that is built with ithreads support, this extension CANNOT
+be used.
+
=head1 SYNOPSIS
use Thread;
@@ -130,7 +139,7 @@ signal is discarded.
=item cond_broadcast VARIABLE
-The C<cond_broadcast> function works similarly to C<cond_wait>.
+The C<cond_broadcast> function works similarly to C<cond_signal>.
C<cond_broadcast>, though, will unblock B<all> the threads that are blocked
in a C<cond_wait> on the locked variable, rather than only one.