pthread

A

Ara.T.Howard

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
===============================================================================
 
T

ts

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
 
A

Ara.T.Howard

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
===============================================================================
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

pthread masters (that's you guy) 1
narray on windows? 1
Class::name 0
idiot's guide to druby using ssh tunnels 4
drb with udp 1
parent of TrueClass, FalseClass 9
pretty exceptions 0
Object#copy [rcr?] 4

Members online

Forum statistics

Threads
473,754
Messages
2,569,522
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top