By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

perl 5.8.2 threads on Linux/NPTL

P: n/a
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
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.