Revision history for Thread-Cleanup
+0.03 2010-01-06 23:30 UTC
+ + Fix : Named scopes with debugging blead.
+ + Fix : Work around Kwalitee test misfailures.
+
0.02 2009-06-04 21:35 UTC
+ Doc : Typos and nits.
+ Fix : Dieing inside a Thread::Cleanup callback no longer causes the
--- #YAML:1.0
name: Thread-Cleanup
-version: 0.02
+version: 0.03
abstract: Hook thread destruction.
author:
- Vincent Pit <perl@profvince.com>
build_requires:
ExtUtils::MakeMaker: 0
Test::More: 0
+ threads: 1.07
threads::shared: 0.91
+ XSLoader: 0
requires:
perl: 5.008
threads: 1.07
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.52
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
+dynamic_config: 0
Thread::Cleanup - Hook thread destruction.
VERSION
- Version 0.02
+ Version 0.03
SYNOPSIS
use Thread::Cleanup;
FUNCTIONS
"register BLOCK"
Specify that the "BLOCK" will have to be called (in void context,
- without arguments) every time a thread finishes is job. More precisely,
+ without arguments) every time a thread finishes its job. More precisely,
- * it will always be called before the join for joined threads ;
+ * it will always be called before the joining for joined threads ;
- * it will be called for detached threads only if they terminate before
- the main thread, and the hook will then fire at "END" time ;
+ * it will be called for detached threads if and only if they terminate
+ before the main thread, and the hook will then fire at "END" time ;
* it won't trigger for the destruction of the main thread.
Inspired by a question from TonyC on #p5p.
COPYRIGHT & LICENSE
- Copyright 2009 Vincent Pit, all rights reserved.
+ Copyright 2009,2010 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.