X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FThread-Cleanup.git;a=blobdiff_plain;f=lib%2FThread%2FCleanup.pm;h=43b3c06d12408fc0e7a5a5dcb8c661bb3d92ca60;hp=c09372c330a6a81f6ca74d924b3db87adb2ee095;hb=c71909828ba6037d6be25567e2bc218562a574ba;hpb=95f8377579dd625843dcace2463165ae5a8c8282 diff --git a/lib/Thread/Cleanup.pm b/lib/Thread/Cleanup.pm index c09372c..43b3c06 100644 --- a/lib/Thread/Cleanup.pm +++ b/lib/Thread/Cleanup.pm @@ -11,14 +11,14 @@ Thread::Cleanup - Hook thread destruction. =head1 VERSION -Version 0.05 +Version 0.06 =cut our $VERSION; BEGIN { - $VERSION = '0.05'; + $VERSION = '0.06'; require XSLoader; XSLoader::load(__PACKAGE__, $VERSION); } @@ -40,7 +40,7 @@ This module allows you to hook thread destruction without fiddling with the inte It acts globally on all the threads that may spawn anywhere in your program, with the exception of the main thread. -The hook will also be called when pseudo-forks (i.e. processes spawn on Windows for the C emulation) terminate. +The hooks registered with this module will also be called when pseudo-forks (i.e. processes spawn on Windows for the C emulation) terminate. =head1 FUNCTIONS @@ -64,7 +64,7 @@ For detached threads, it will be called if and only if the thread terminates bef =item * -For pseudo-forks, it will be called when C succeeds, after any C block local to the spawn process but before any global C block ; +For pseudo-forks, it will be called when C succeeds, after any local or global C block ; =item *