From: Jarkko Hietaniemi Date: Fri, 12 Jul 2002 12:47:11 +0000 (+0000) Subject: Document that one cannot "proxy" enable threading. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6bc4bdd0d179b97fea125bc692fbca61c9052862;p=p5sagit%2Fp5-mst-13.2.git Document that one cannot "proxy" enable threading. p4raw-id: //depot/perl@17500 --- diff --git a/ext/threads/threads.pm b/ext/threads/threads.pm index 86f8766..bb86939 100755 --- a/ext/threads/threads.pm +++ b/ext/threads/threads.pm @@ -130,12 +130,13 @@ important to note that variables are not shared between threads, all variables are per default thread local. To use shared variables one must use threads::shared. -It is also important to note that you must enable threads by -doing C as early as possible and that it is not possible -to enable threading inside an eval ""; In particular, if you are -intending to share variables with threads::shared, you must -C before you C and threads will emit -a warning if you do it the other way around. +It is also important to note that you must enable threads by doing +C as early as possible in the script itself and that it +is not possible to enable threading inside an C, C, +C, or C. In particular, if you are intending to share +variables with threads::shared, you must C before you +C and C will emit a warning if you do +it the other way around. =over