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 C<my ($thread) = threads->new(...)>, and
that if you intend to return a scalar, you must use C<my $thread = ...>.
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.