develooper Front page | perl.perl5.porters | Postings from March 2018

[perl #133021] Removed the word "discouraged" from threads'documentation

Thread Previous | Thread Next
From:
E. Choroba
Date:
March 25, 2018 19:21
Subject:
[perl #133021] Removed the word "discouraged" from threads'documentation
Message ID:
rt-4.0.24-862-1521909067-1907.133021-75-0@perl.org
# New Ticket Created by  "E. Choroba" 
# Please include the string:  [perl #133021]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=133021 >


-----------------------------------------------------------------
[Please describe your issue here]

The documentation of threads.pm says that perl threads are
"discouraged". This causes lots of confusion, as the term is defined
in perlpolicy in the following way:

   discouraged
 	From time to time, we may mark language constructs and
 	features which we consider to have been mistakes as
 	discouraged. Discouraged features aren't currently candidates
 	for removal, but we may later deprecate them if they're found
 	to stand in the way of a significant improvement to the Perl
 	core.

See also #125106, which seems to lead nowhere, maybe because it was
too ambitious. This patch provides just the minimal change.

See also http://www.perlmonks.org/?node_id=1107534 .

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
     category=library
     severity=medium
     module=threads
---
Site configuration information for perl 5.27.11:

Configured by choroba at Sat Mar 24 15:15:34 CET 2018.

Summary of my perl5 (revision 5 version 27 subversion 11) configuration:
   Commit id: e77195360c1a2b081a806df017630b3165e2aeac
   Platform:
     osname=linux
     osvers=4.4.120-45-default
     archname=x86_64-linux-thread-multi
     uname='linux still 4.4.120-45-default #1 smp wed mar 14 20:51:49 utc 2018 (623211f) x86_64 x86_64 x86_64 gnulinux '
     config_args='-Dusedevel -de -Dusethreads -Dprefix=/home/choroba/localperl'
     hint=recommended
     useposix=true
     d_sigaction=define
     useithreads=define
     usemultiplicity=define
     use64bitint=define
     use64bitall=define
     uselongdouble=undef
     usemymalloc=n
     default_inc_excludes_dot=define
     bincompat5005=undef
   Compiler:
     cc='cc'
     ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
     optimize='-O2'
     cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
     ccversion=''
     gccversion='4.8.5'
     gccosandvers=''
     intsize=4
     longsize=8
     ptrsize=8
     doublesize=8
     byteorder=12345678
     doublekind=3
     d_longlong=define
     longlongsize=8
     d_longdbl=define
     longdblsize=16
     longdblkind=3
     ivtype='long'
     ivsize=8
     nvtype='double'
     nvsize=8
     Off_t='off_t'
     lseeksize=8
     alignbytes=8
     prototype=define
   Linker and Libraries:
     ld='cc'
     ldflags =' -fstack-protector -L/usr/local/lib'
     libpth=/usr/local/lib /usr/lib64/gcc/x86_64-suse-linux/4.8/include-fixed /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/lib /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64
     libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
     perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
     libc=libc-2.22.so
     so=so
     useshrplib=false
     libperl=libperl.a
     gnulibc_version='2.22'
   Dynamic Linking:
     dlsrc=dl_dlopen.xs
     dlext=so
     d_dlsymun=undef
     ccdlflags='-Wl,-E'
     cccdlflags='-fPIC'
     lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


---
@INC for perl 5.27.11:
     /home/choroba/localperl/lib/site_perl/5.27.11/x86_64-linux-thread-multi
     /home/choroba/localperl/lib/site_perl/5.27.11
     /home/choroba/localperl/lib/5.27.11/x86_64-linux-thread-multi
     /home/choroba/localperl/lib/5.27.11

---
Environment for perl 5.27.11:
     HOME=/home/choroba
     LANG=en_US.UTF-8
     LANGUAGE (unset)
     LD_LIBRARY_PATH (unset)
     LOGDIR (unset)
     PATH=/home/choroba/perl5/bin:/home/choroba/bin:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/games:/usr/X11R6/bin:/opt/gnome/bin:.
     PERL_BADLANG (unset)
     SHELL=/bin/bash
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About