pthread

Discussion in 'Ruby' started by Ara.T.Howard, Apr 3, 2004.

  1. Ara.T.Howard

    Ara.T.Howard Guest

    rubyists-

    can't someone give me a 30 second brain dump on why i might want, or not want,
    to compile ruby using --enable-pthread? i've heard it can be good for apps
    that require 'tk'...

    -a
    --
    ===============================================================================
    | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
    | PHONE :: 303.497.6469
    | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
    | URL :: http://www.ngdc.noaa.gov/stp/
    | TRY :: for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done
    ===============================================================================
    Ara.T.Howard, Apr 3, 2004
    #1
    1. Advertising

  2. Ara.T.Howard

    ts Guest

    >>>>> "A" == Ara T Howard <> writes:

    A> can't someone give me a 30 second brain dump on why i might want, or not want,
    A> to compile ruby using --enable-pthread? i've heard it can be good for apps
    A> that require 'tk'...

    If tk was compiled with -lpthread, ruby must be compiled with
    --enable-pthread. If tk was not compiled with -lpthread, you don't need
    this flag (tk is just an example)


    Guy Decoux
    ts, Apr 3, 2004
    #2
    1. Advertising

  3. Ara.T.Howard

    Ara.T.Howard Guest

    On Sat, 3 Apr 2004, ts wrote:

    > >>>>> "A" == Ara T Howard <> writes:

    >
    > A> can't someone give me a 30 second brain dump on why i might want, or not want,
    > A> to compile ruby using --enable-pthread? i've heard it can be good for apps
    > A> that require 'tk'...
    >
    > If tk was compiled with -lpthread, ruby must be compiled with
    > --enable-pthread. If tk was not compiled with -lpthread, you don't need
    > this flag (tk is just an example)
    >
    >
    > Guy Decoux


    thanks for the prompt reply guy - looks like i'm safe:

    /dmsp/reference/build/tk8.4.6/unix > ldd /dmsp/reference/lib/libtk8.4.so
    libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7460000)
    libdl.so.2 => /lib/libdl.so.2 (0xb744a000)
    libm.so.6 => /lib/tls/libm.so.6 (0xb7428000)
    libc.so.6 => /lib/tls/libc.so.6 (0xb72f0000)
    /lib/ld-linux.so.2 =>
    /lib/ld-linux.so.2 (0x80000000)


    -a
    --
    ===============================================================================
    | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
    | PHONE :: 303.497.6469
    | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
    | URL :: http://www.ngdc.noaa.gov/stp/
    | TRY :: for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done
    ===============================================================================
    Ara.T.Howard, Apr 3, 2004
    #3
    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. R Mar
    Replies:
    0
    Views:
    400
    R Mar
    Jan 3, 2004
  2. Avin
    Replies:
    2
    Views:
    15,595
    Jerald Fijerald
    May 8, 2004
  3. lokb
    Replies:
    7
    Views:
    8,756
    red floyd
    Jul 14, 2004
  4. Keith

    Strange Pthread Behavior On IRIX

    Keith, Jun 25, 2003, in forum: C Programming
    Replies:
    1
    Views:
    811
    Keith
    Jun 26, 2003
  5. Dan Cescato
    Replies:
    9
    Views:
    508
    Anthony Baxter
    Oct 6, 2003
Loading...

Share This Page