diff options
author | Brian Fraser <fraserbn@gmail.com> | 2012-01-31 23:39:27 -0300 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-06-27 08:46:30 -0700 |
commit | 8f416bb0d6e3ca01c1f9c7c5023a51b35144210c (patch) | |
tree | 9c20ef8735ec68489627c971272f882d357d87f5 /pod/perlmod.pod | |
parent | 589e2f52c624e70b9d5198e0149005319e0b9a1c (diff) | |
download | perl-8f416bb0d6e3ca01c1f9c7c5023a51b35144210c.tar.gz |
perlmod: #109408
Diffstat (limited to 'pod/perlmod.pod')
-rw-r--r-- | pod/perlmod.pod | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pod/perlmod.pod b/pod/perlmod.pod index 9d02c3f70a..7f243fa311 100644 --- a/pod/perlmod.pod +++ b/pod/perlmod.pod @@ -545,15 +545,14 @@ X<threadsafe> X<thread safe> X<module, threadsafe> X<module, thread safe> X<CLONE> X<CLONE_SKIP> X<thread> X<threads> X<ithread> -Since 5.6.0, Perl has had support for a new type of threads called -interpreter threads (ithreads). These threads can be used explicitly -and implicitly. +Perl supports a type of threads called interpreter threads (ithreads). +These threads can be used explicitly and implicitly. Ithreads work by cloning the data tree so that no data is shared between different threads. These threads can be used by using the C<threads> module or by doing fork() on win32 (fake fork() support). When a thread is cloned all Perl data is cloned, however non-Perl data cannot -be cloned automatically. Perl after 5.7.2 has support for the C<CLONE> +be cloned automatically. Perl after 5.8.0 has support for the C<CLONE> special subroutine. In C<CLONE> you can do whatever you need to do, like for example handle the cloning of non-Perl data, if necessary. |