[DOC PATCH] ext/threads/shared/shared.pm
Dave Mitchell [Thu, 11 Jul 2002 01:15:18 +0000 (02:15 +0100)]
Message-ID: <20020711011518.B27438@fdgroup.com>

p4raw-id: //depot/perl@17474

ext/threads/shared/shared.pm

index d7fe1dc..c799889 100644 (file)
@@ -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