perl 5.8.2 threads on Linux/NPTL

Discussion in 'Perl' started by Al Tobey, Dec 5, 2003.

  1. Al Tobey

    Al Tobey Guest

    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
     
    Al Tobey, Dec 5, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sacha Prins
    Replies:
    0
    Views:
    1,021
    Sacha Prins
    Sep 30, 2003
  2. Patrick W. Fraley

    Python NPTL Sockets

    Patrick W. Fraley, Apr 5, 2004, in forum: Python
    Replies:
    0
    Views:
    321
    Patrick W. Fraley
    Apr 5, 2004
  3. yoda
    Replies:
    2
    Views:
    471
    =?utf-8?Q?Bj=C3=B6rn_Lindstr=C3=B6m?=
    Aug 1, 2005
  4. threads without threads

    , Aug 27, 2004, in forum: C Programming
    Replies:
    4
    Views:
    437
    William Ahern
    Aug 27, 2004
  5. Krishna Chaitanya
    Replies:
    1
    Views:
    148
    Krishna Chaitanya
    Feb 27, 2009
Loading...

Share This Page