I was looking at using Thread::Status to work on some problems with one
of my threaded applications, but it requires Thread::Signal, which
currently only works on perls compiled with -DTHREADS_HAVE_PIDS. I'm
running Red Hat Enterprise Server 3.0 with a custom compiled perl, where
I removed that flag because it no longer is true.
Two things: Can Thread::Status be made to work without Thread::Signal
and would you know whom to contact about making perl properly detect the
THREADS_HAVE_PIDS status?
Almost all modern Linux distributions will have this problem, with the
exception of Slackware (which will probably be there soon).
-Al Tobey
Unix Administrator
Priority Health
perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
Platform:
osname=linux, osvers=2.4.21-4.0.1.elsmp, archname=i686-linux-thread-multi
uname='linux loach 2.4.21-4.0.1.elsmp #1 smp thu oct 23 01:27:36 edt 2003 i686
i686 i386 gnulinux '
config_args='-der'
hint=previous, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccversion='', gccversion='3.2.3 20030502 (Red Hat Linux 3.2.3-20)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.2.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Dec 5 2003 12:38:28
@INC:
/opt/perl-5.8.2/lib/5.8.2/i686-linux-thread-multi
/opt/perl-5.8.2/lib/5.8.2
/opt/perl-5.8.2/lib/site_perl/5.8.2/i686-linux-thread-multi
/opt/perl-5.8.2/lib/site_perl/5.8.2
/opt/perl-5.8.2/lib/site_perl
** ** ** PRIVILEGED AND CONFIDENTIAL ** ** **
This email transmission contains privileged and confidential information
intended only for the use of the individual or entity named above. Any
unauthorized review, use, disclosure or distribution is prohibited and
may be a violation of law. If you are not the intended recipient or a
person responsible for delivering this message to an intended recipient,
please delete the email and immediately notify the sender via the email
return address or mailto:[EMAIL PROTECTED] Thank you.