summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2002-07-11 02:15:18 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2002-07-10 23:21:10 +0000
commit7c9dd677b4a89b0e7bce8a9d89ee5e3896827edd (patch)
tree6a0f9c3a40e5a6e977eacce86af7c8147cf74a22 /ext
parenta2338d156f868cf5614d45ac652852fbffe95040 (diff)
downloadperl-7c9dd677b4a89b0e7bce8a9d89ee5e3896827edd.tar.gz
[DOC PATCH] ext/threads/shared/shared.pm
Message-ID: <20020711011518.B27438@fdgroup.com> p4raw-id: //depot/perl@17474
Diffstat (limited to 'ext')
-rw-r--r--ext/threads/shared/shared.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/threads/shared/shared.pm b/ext/threads/shared/shared.pm
index d7fe1dcea0..c79988999e 100644
--- a/ext/threads/shared/shared.pm
+++ b/ext/threads/shared/shared.pm
@@ -74,6 +74,11 @@ win32). It is used together with the threads module.
C<share>, C<lock>, C<cond_wait>, C<cond_signal>, C<cond_broadcast>
+Note that if this module is imported when C<threads> has not yet been
+loaded, then these functions all become no-ops. This makes it possible to
+write modules that will work in both threaded and non-threaded
+environments.
+
=head1 FUNCTIONS
=over 4