perl 5.8.2 threads on Linux/NPTL

A

Al Tobey

I was building perl 5.8.2 on RedHat Enterprise Linux 3.0 (AS) today and
noticed that it included in it's ccflags "-DTHREADS_HAVE_PIDS." I am
building with -Dusethreads. With newer Linux distributions using the
Native Posix Threading Layer (NPTL), this isn't entirely true anymore and
is AFAIK unsupported (using a pid to signal/identify threads). I removed
it from my config.sh script and ran Configure -der. make test runs just
fine.

Just thought I should mention it ...
-Al Tobey

Relevant portion of make test output with the flag removed:
ext/threads/shared/t/0nothread.......ok
ext/threads/shared/t/av_refs.........ok
ext/threads/shared/t/av_simple.......ok
ext/threads/shared/t/cond............ok
ext/threads/shared/t/disabled........ok
ext/threads/shared/t/hv_refs.........ok
ext/threads/shared/t/hv_simple.......ok
ext/threads/shared/t/no_share........ok
ext/threads/shared/t/shared_attr.....ok
ext/threads/shared/t/sv_refs.........ok
ext/threads/shared/t/sv_simple.......ok
ext/threads/t/basic..................ok
ext/threads/t/end....................ok
ext/threads/t/join...................ok
ext/threads/t/libc...................ok
ext/threads/t/list...................ok
ext/threads/t/problems...............ok
ext/threads/t/stress_cv..............ok
ext/threads/t/stress_re..............ok
ext/threads/t/stress_string..........ok
ext/threads/t/thread.................ok
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top