Pthread

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 :: Solar-Terrestrial Physics Data | NCEI
TRY :: for l in ruby perl;do $l -e “print "\x3a\x2d\x29\x0a"”;done
===============================================================================

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'...

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

···

On Sat, 3 Apr 2004, ts wrote:

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’…

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

EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
PHONE :: 303.497.6469
ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
URL :: Solar-Terrestrial Physics Data | NCEI
TRY :: for l in ruby perl;do $l -e “print "\x3a\x2d\x29\x0a"”;done
===============================================================================