Front page | perl.perl5.porters |
Postings from February 2000
[ID 20000204.004] new Thread return value described incorrectlyin perlthrtut.pod
From:
Danny Zerkel-D26
Date:
February 4, 2000 08:13
Subject:
[ID 20000204.004] new Thread return value described incorrectlyin perlthrtut.pod
Message ID:
200002041612.LAA27881@dxz29awu.cas.org
This is a bug report for perl from dzerkel@cas.org,
generated with the help of perlbug 1.27 running under perl 5.00563.
-----------------------------------------------------------------
[Please enter your report here]
*** pod/perlthrtut.pod.orig Fri Feb 4 11:05:52 2000
--- pod/perlthrtut.pod Fri Feb 4 11:07:34 2000
***************
*** 278,285 ****
}
! The subroutine runs like a normal Perl subroutine, and the call to new
! Thread returns whatever the subroutine returns.
The last example illustrates another feature of threads. You can spawn
off several threads using the same subroutine. Each thread executes
--- 278,286 ----
}
! The subroutine runs like a normal Perl subroutine. The call to new
! Thread returns a Thread which can be used to get the return value of
! the new thread (see join below).
The last example illustrates another feature of threads. You can spawn
off several threads using the same subroutine. Each thread executes
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Site configuration information for perl 5.00563:
Configured by dxz29 at Tue Feb 1 13:17:45 EST 2000.
Summary of my perl5 (revision 5.0 version 5 subversion 63) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris-thread-multi
uname='sunos dxz29awu 5.6 generic_105181-16 sun4u sparc sunw,ultra-5_10 '
config_args='-Dusethreads -Dusemultiplicity'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define useperlio=undef d_sfio=undef
use64bits=undef usemultiplicity=define
Compiler:
cc='/vol/SUNWspro6.1.p1/bin/cc', optimize='-fast -xO5 -xtarget=ultra2i -xcache=16/32/1:256/64/1', gccversion=
cppflags='-D_REENTRANT'
ccflags ='-D_REENTRANT -DUSE_LONG_LONG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='/vol/SUNWspro6.1.p1/bin/cc', ldflags =' '
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lposix4 -lpthread -lc -lcrypt -lsec
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-KPIC', lddlflags='-G'
Locally applied patches:
---
@INC for perl 5.00563:
/ldatae/perl5.5.63/lib/5.00563/sun4-solaris-thread-multi
/ldatae/perl5.5.63/lib/5.00563
/ldatae/perl5.5.63/lib/site_perl/5.00563/sun4-solaris-thread-multi
/ldatae/perl5.5.63/lib/site_perl
.
---
Environment for perl 5.00563:
HOME=/home/dxz29
LANG=C
LANGUAGE (unset)
LD_LIBRARY_PATH=/ldatae/dxz29/lib:/lprod/cas/lib:/usr/openwin/lib:/usr/lib:/usr/dt/lib
LOGDIR (unset)
PATH=/ldatae/dxz29/bin:/home/dxz29/bin/sun4:/home/dxz29/bin:/lprod/cas/bin:/usr/local/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/cas/bin/sun4:/cas/abin/sun4:/cas/X11/sun4/bin:/usr/ccs/bin:/uprod/bin:/usr/sbin:/cas/tools/bin/sun4:/cas/X11/sun4/tools/bin:/usr/ucb:/home/dxz29/bin:/usr/perl5/bin:/projects/clearcase/bin:/usr/atria/bin:/sbin:/projects/sprs_lwv/bin
PERL_BADLANG (unset)
SHELL=/bin/ksh
-
[ID 20000204.004] new Thread return value described incorrectlyin perlthrtut.pod
by Danny Zerkel-D26