--enable-pthreads option

Discussion in 'Ruby' started by James F. Hranicky, Jan 9, 2004.

  1. Out of curiosity, does the --enable-pthreads switch cause ruby threads
    to use pthreads, or is the option there simply for linking against
    pthreaded libraries?

    ----------------------------------------------------------------------
    | Jim Hranicky, Senior SysAdmin UF/CISE Department |
    | E314D CSE Building Phone (352) 392-1499 |
    | http://www.cise.ufl.edu/~jfh |
    ----------------------------------------------------------------------
    About politics:
    Don't worry about results
    It's the thought that counts
    James F. Hranicky, Jan 9, 2004
    #1
    1. Advertising

  2. James F. Hranicky wrote:

    >Out of curiosity, does the --enable-pthreads switch cause ruby threads
    >to use pthreads, or is the option there simply for linking against
    >pthreaded libraries?
    >

    i was wondering this too, and also: if it's really causing ruby threads
    to use pthreads, will it work under windows? (i assume not).

    thank you,

    emmanuel
    Emmanuel Touzery, Jan 9, 2004
    #2
    1. Advertising

  3. Hi,

    In message "--enable-pthreads option"
    on 04/01/09, "James F. Hranicky" <> writes:

    |Out of curiosity, does the --enable-pthreads switch cause ruby threads
    |to use pthreads, or is the option there simply for linking against
    |pthreaded libraries?

    It makes Ruby linked with libpthread, and to use pthread internally,
    to deal with extensions likned with libpthread. But it does not make
    Ruby thread-safe, nor make Ruby thread use pthread.

    matz.
    Yukihiro Matsumoto, Jan 9, 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. Patrick
    Replies:
    1
    Views:
    653
  2. john
    Replies:
    1
    Views:
    568
    Grant Wagner
    Jul 23, 2004
  3. Jim

    java and pthreads

    Jim, Sep 14, 2005, in forum: Java
    Replies:
    0
    Views:
    2,443
  4. Savagesmc
    Replies:
    3
    Views:
    451
    Savagesmc
    Nov 11, 2003
  5. jschlosser
    Replies:
    1
    Views:
    112
    Peter Michaux
    Jul 2, 2008
Loading...

Share This Page