From: Rafael Garcia-Suarez Date: Mon, 31 Oct 2005 08:40:23 +0000 (+0000) Subject: Robin Houston remarks that mention of a context is missing from the X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=16c6ee180818f1aed72b8e6ad2e7d9c44be8216f;p=p5sagit%2Fp5-mst-13.2.git Robin Houston remarks that mention of a context is missing from the threads.pm documentation. p4raw-id: //depot/perl@25912 --- diff --git a/ext/threads/threads.pm b/ext/threads/threads.pm index c320d1c..ef66eb2 100755 --- a/ext/threads/threads.pm +++ b/ext/threads/threads.pm @@ -148,7 +148,7 @@ This will wait for the corresponding thread to join. When the thread finishes, join() will return the return values of the entry point function. If the thread has been detached, an error will be thrown. -The context (scalar or list) of the thread creation is also the +The context (void, scalar or list) of the thread creation is also the context for join(). This means that if you intend to return an array from a thread, you must use Cnew(...)>, and that if you intend to return a scalar, you must use C. @@ -241,7 +241,7 @@ On some platforms it might not be possible to destroy "parent" threads while there are still existing child "threads". This will possibly be fixed in later versions of perl. - + =item tid is I32 The thread id is a 32 bit integer, it can potentially overflow.