=head1 VERSION
-Version 0.01
+Version 0.02
=cut
our $VERSION;
BEGIN {
- $VERSION = '0.01';
+ $VERSION = '0.02';
require XSLoader;
XSLoader::load(__PACKAGE__, $VERSION);
}
=head2 C<register BLOCK>
-Specify that the C<BLOCK> will have to be called (in void context, without arguments) every time a thread finishes is job.
+Specify that the C<BLOCK> will have to be called (in void context, without arguments) every time a thread finishes its job.
More precisely,
=over 4
=item *
-it will always be called before the join for joined threads ;
+it will always be called before the joining for joined threads ;
=item *
-it will be called for detached threads only if they terminate before the main thread, and the hook will then fire at C<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 C<END> time ;
=item *
-it won't trigger for the the destruction of the main thread.
+it won't trigger for the destruction of the main thread.
=back