Revision history for Thread-Cleanup
+0.07 2014-10-01 17:50 UTC
+ + Fix : Make sure the hooks are executed after all END blocks
+ (including the global ones) at the end of a pseudo-fork.
+
0.06 2014-09-28 15:40 UTC
+ Doc : Updates and clarifications.
+ Fix : The hooks registered by this module will now be reliably
"Vincent Pit <perl@profvince.com>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060",
+ "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142690",
"license" : [
"perl_5"
],
"url" : "http://git.profvince.com/?p=perl%2Fmodules%2FThread-Cleanup.git"
}
},
- "version" : "0.06"
+ "version" : "0.07"
}
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060'
+generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142690'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
homepage: http://search.cpan.org/dist/Thread-Cleanup/
license: http://dev.perl.org/licenses/
repository: http://git.profvince.com/?p=perl%2Fmodules%2FThread-Cleanup.git
-version: '0.06'
+version: '0.07'
Thread::Cleanup - Hook thread destruction.
VERSION
- Version 0.06
+ Version 0.07
SYNOPSIS
use Thread::Cleanup;
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 "fork" emulation) terminate.
+ The hooks registered with this module will also be called when
+ pseudo-forks (i.e. processes spawn on Windows for the "fork" emulation)
+ terminate.
FUNCTIONS
"register"
global "END" time ;
* For pseudo-forks, it will be called when "waitpid" succeeds, after
- any "END" block local to the spawn process but before any global
- "END" block ;
+ any local or global "END" block ;
* It will never trigger for the destruction of the main thread.
=head1 VERSION
-Version 0.06
+Version 0.07
=cut
our $VERSION;
BEGIN {
- $VERSION = '0.06';
+ $VERSION = '0.07';
require XSLoader;
XSLoader::load(__PACKAGE__, $VERSION);
}