On Tue, Sep 03, 2002 at 10:03:15PM +0200, Marco Trevisan wrote:
> I looked at the NGPT home page, surfed the net and found some 
> interesting benchmarks : 
> http://www.opengroup.org/rtforum/jan2002/slides/linux/abt.pdf .
> 
> At http://www.ibm.com/developerworks/oss/pthreads/, they say: "This 
> release is fully suitable as a replacement for LinuxThreads by either a 
> single user or group or an entire distribution."
> Does it mean that if I patch the kernel and install it on my system, my 
> JVM will use it?  I guess it's not so easy :-)

I haven't tried this library, but it claims to offer a pthreads API. So
this might work for retrofitting an application (such as the JVM) that
uses pthreads:

    LD_PRELOAD=<path_to_pth_library> <...command line...>

For example:

    LD_PRELOAD=/usr/local/lib/libpth.so.1.4.1 java ...


This is conjecture - I haven't tried it! It might not work, and there
might be some intricate libc dependency problems on your system. But
it's what I would try if I were to try it :-).


Nathan Meyers
[EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to