Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new Thread return value described incorrectly in perlthrtut.pod #1139

Closed
p5pRT opened this issue Feb 4, 2000 · 1 comment
Closed

new Thread return value described incorrectly in perlthrtut.pod #1139

p5pRT opened this issue Feb 4, 2000 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Feb 4, 2000

Migrated from rt.perl.org#2100 (status was 'resolved')

Searchable as RT2100$

@p5pRT
Copy link
Author

p5pRT commented Feb 4, 2000

From dzerkel@cas.org

Created by dzerkel@cas.org

*** 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

Perl Info


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


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant