From: Jarkko Hietaniemi Date: Sun, 12 May 2002 23:28:43 +0000 (+0000) Subject: Elaborate on the exit/wait plan a bit. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=97b33923a08159d5d753e1da3b6306a87b011ee6;p=p5sagit%2Fp5-mst-13.2.git Elaborate on the exit/wait plan a bit. p4raw-id: //depot/perl@16567 --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index 0079cd7..83f988f 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -114,8 +114,21 @@ class subtraction. =head2 Work out exit/die semantics for threads -There are some suggestion for use a -C x> syntax. +There are some suggestions to use for example something like this: +default to "(thread exiting first will) wait for the other threads +until up to 60 seconds". Other possibilities: + + use threads wait => 0; + +Do not wait. + + use threads wait_for => 10; + +Wait up to 10 seconds. + + use threads wait_for => -1; + +Wait for ever. http://archive.develooper.com/perl5-porters@perl.org/msg79618.html @@ -177,7 +190,7 @@ C<[1234567890]> aren't the only numerals any more. =head2 POSIX Unicode character classes -(C<[=a=]> for equivalance classes, C<[.ch.]> for collation.) +(C<[=a=]> for equivalence classes, C<[.ch.]> for collation.) These are dependent on Unicode normalization and collation. =head2 Factoring out common suffices/prefices in regexps (trie optimization) @@ -244,7 +257,7 @@ C<&>, C, C and C. =head2 Replace pod2html with something using Pod::Parser The CPAN module C may be a more suitable basis for a -C convertor; the current one duplicates the functionality +C converter; the current one duplicates the functionality abstracted in C, which makes updating the POD language difficult.