From: Artur Bergman Date: Tue, 7 May 2002 21:18:44 +0000 (+0000) Subject: Documentation of async X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=386c44e5c8a5d040bf976283d7be37c363673092;p=p5sagit%2Fp5-mst-13.2.git Documentation of async p4raw-id: //depot/perl@16454 --- diff --git a/ext/threads/threads.pm b/ext/threads/threads.pm index f76d55b..4aba309 100755 --- a/ext/threads/threads.pm +++ b/ext/threads/threads.pm @@ -167,6 +167,13 @@ However this is highly depending on the underlying thread implmentation. This will return a list of all non joined, non detached threads. +=item async BLOCK; + +C creates a thread to execute the block immediately following +it. This block is treated as an anonymous sub, and so must have a +semi-colon after the closing brace. Like C, C +returns a thread object. + =back =head1 WARNINGS