]> git.vpit.fr Git - perl/modules/Thread-Cleanup.git/commitdiff
This is 0.05 v0.05
authorVincent Pit <vince@profvince.com>
Sun, 1 Sep 2013 16:50:03 +0000 (18:50 +0200)
committerVincent Pit <vince@profvince.com>
Sun, 1 Sep 2013 16:50:03 +0000 (18:50 +0200)
Changes
MANIFEST
META.json [new file with mode: 0644]
META.yml
README
lib/Thread/Cleanup.pm

diff --git a/Changes b/Changes
index 635a6fa16d32566fd71db5f6fa1a7298eebfd63a..25ffe957f954bd2d610a0c46afc3e620610f66e6 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,15 @@
 Revision history for Thread-Cleanup
 
+0.05    2013-09-01 16:50 UTC
+        This is a maintenance release. The code contains no functional change.
+        Satisfied users of version 0.04 can skip this update.
+        + Doc : C++ compilers are officially NOT supported.
+        + Doc : POD headings are now properly linkable.
+        + Tst : Author tests are no longer bundled with this distribution.
+                They are only made available to authors in the git repository.
+        + Tst : Threads tests will not fail anymore if resources constraints
+                prevent the system from creating all the required threads.
+
 0.04    2010-05-31 22:55 UTC
         + Fix : Compatibility with perl 5.13.1.
 
index 1c80947507c25826d51dea65491db99f7f8917a7..00b94e964e6f975e2a8b6fb1b9fd84646718fa8f 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,6 +1,7 @@
 Changes
 Cleanup.xs
 MANIFEST
+META.json
 META.yml
 Makefile.PL
 README
diff --git a/META.json b/META.json
new file mode 100644 (file)
index 0000000..433962a
--- /dev/null
+++ b/META.json
@@ -0,0 +1,59 @@
+{
+   "abstract" : "Hook thread destruction.",
+   "author" : [
+      "Vincent Pit <perl@profvince.com>"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921",
+   "license" : [
+      "perl_5"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
+   },
+   "name" : "Thread-Cleanup",
+   "no_index" : {
+      "directory" : [
+         "t",
+         "inc"
+      ]
+   },
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0",
+            "Test::More" : "0",
+            "XSLoader" : "0",
+            "threads" : "1.07",
+            "threads::shared" : "0.91"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "XSLoader" : "0",
+            "perl" : "5.008",
+            "threads" : "1.07"
+         }
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "bugtracker" : {
+         "web" : "http://rt.cpan.org/Dist/Display.html?Name=Thread-Cleanup"
+      },
+      "homepage" : "http://search.cpan.org/dist/Thread-Cleanup/",
+      "license" : [
+         "http://dev.perl.org/licenses/"
+      ],
+      "repository" : {
+         "url" : "http://git.profvince.com/?p=perl%2Fmodules%2FThread-Cleanup.git"
+      }
+   },
+   "version" : "0.05"
+}
index 581a8ca6ae6e604c6377f997a93db0588192e003..65f4cbbb450147384e72efb551abe844f5d6d2a2 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -1,34 +1,33 @@
---- #YAML:1.0
-name:               Thread-Cleanup
-version:            0.04
-abstract:           Hook thread destruction.
+---
+abstract: 'Hook thread destruction.'
 author:
-    - Vincent Pit <perl@profvince.com>
-license:            perl
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
+  - 'Vincent Pit <perl@profvince.com>'
 build_requires:
-    ExtUtils::MakeMaker:  0
-    Test::More:           0
-    threads:              1.07
-    threads::shared:      0.91
-    XSLoader:             0
+  ExtUtils::MakeMaker: 0
+  Test::More: 0
+  XSLoader: 0
+  threads: 1.07
+  threads::shared: 0.91
+configure_requires:
+  ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921'
+license: perl
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Thread-Cleanup
+no_index:
+  directory:
+    - t
+    - inc
 requires:
-    perl:      5.008
-    threads:   1.07
-    XSLoader:  0
+  XSLoader: 0
+  perl: 5.008
+  threads: 1.07
 resources:
-    bugtracker:  http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Thread-Cleanup
-    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
-no_index:
-    directory:
-        - t
-        - inc
-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
+  bugtracker: http://rt.cpan.org/Dist/Display.html?Name=Thread-Cleanup
+  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.05
diff --git a/README b/README
index 1b1c6744944f302abe9a795c890de8891b51d3b6..d3ebe0be6c9bbdcb1e73fa14858a487d57647cc1 100644 (file)
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
     Thread::Cleanup - Hook thread destruction.
 
 VERSION
-    Version 0.04
+    Version 0.05
 
 SYNOPSIS
         use Thread::Cleanup;
@@ -22,9 +22,13 @@ DESCRIPTION
     program, with the exception of the main thread.
 
 FUNCTIONS
-  "register BLOCK"
-    Specify that the "BLOCK" will have to be called (in void context,
-    without arguments) every time a thread finishes its job. More precisely,
+  "register"
+        register { ... };
+        &register($coderef);
+
+    Specify that the given block or code reference $coderef will have to be
+    called (in void context, without arguments) every time a thread finishes
+    its job. More precisely,
 
     *   it will always be called before the joining for joined threads ;
 
@@ -39,6 +43,9 @@ EXPORT
 DEPENDENCIES
     perl 5.8.
 
+    A C compiler. This module may happen to build with a C++ compiler as
+    well, but don't rely on it, as no guarantee is made in this regard.
+
     threads 1.07.
 
     XSLoader.
@@ -62,7 +69,7 @@ ACKNOWLEDGEMENTS
     Inspired by a question from TonyC on #p5p.
 
 COPYRIGHT & LICENSE
-    Copyright 2009,2010 Vincent Pit, all rights reserved.
+    Copyright 2009,2010,2013 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.
index ea6788d851929551c9e0229e9390f40e02d0aafa..ebb424ee67941871692ee4644bb5c5beb0d54e5d 100644 (file)
@@ -11,14 +11,14 @@ Thread::Cleanup - Hook thread destruction.
 
 =head1 VERSION
 
-Version 0.04
+Version 0.05
 
 =cut
 
 our $VERSION;
 
 BEGIN {
- $VERSION = '0.04';
+ $VERSION = '0.05';
  require XSLoader;
  XSLoader::load(__PACKAGE__, $VERSION);
 }