X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FThread-Cleanup.git;a=blobdiff_plain;f=lib%2FThread%2FCleanup.pm;h=b2773f67ead8200e15d74cff010a8b5ddaa82fc1;hp=5ee7ea6fb55b1d7d1b96289a4b0b9741e0527c24;hb=c204082b7c542b76a735ece2d8a5dd46a4d41889;hpb=a41f059bb410d94d16596eca1d2a42a53622e208 diff --git a/lib/Thread/Cleanup.pm b/lib/Thread/Cleanup.pm index 5ee7ea6..b2773f6 100644 --- a/lib/Thread/Cleanup.pm +++ b/lib/Thread/Cleanup.pm @@ -44,18 +44,18 @@ It acts globally on all the threads that may spawn anywhere in your program, wit =head2 C -Specify that the C will have to be called (in void context, without arguments) every time a thread finishes is job. +Specify that the C 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 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 time ; =item *