Gerry Tool wrote:
On Wed, 2003-04-02 at 15:32, Justin Georgeson wrote:
I read somewhere that I must use JDK/JRE 1.4 or higher due to the NTPL stuff. Is this strictly for the Sun implementations (perhaps the IBM 1.3 SDK and RE are useable)? Is there any compat lib I could install or anything like that?
From the Release Notes:
o Red Hat Linux 9 includes the Native POSIX Thread Library (NPTL), a new implementation of POSIX threads for Linux. This library provides performance improvements and increased scalability for i686 or better processors.
This thread library is designed to be binary compatible with the old LinuxThreads implementation; however, applications that rely on the places where the LinuxThreads implementation deviates from the POSIX standard will need to be fixed. Notable differences include:
- Signal handling has changed from per-thread signal handling to POSIX process signal handling.
- getpid() returns the same value in all threads.
- Thread handlers registered with pthread_atfork are not run if vfork() is used - no manager thread
Applications that are known to have problems using NPTL include:
- Sun JRE prior to version 1.4.1
- IBM JRE
If an application does not work properly with NPTL, it can be run using the old LinuxThreads implementation by setting the following environment variable:
LD_ASSUME_KERNEL=<kernel-version>
The following versions are available:
- 2.4.1 - Linuxthreads with floating stacks
- 2.2.5 - Linuxthreads without floating stacks
NPTL support for all dynamically-linked applications can be disabled by using the following boot-time option:
nosysinfo
gerry
-- ; Justin Georgeson ; http://www.lopht.net ; mailto:jgeorgeson@xxxxxxxxx ; "Free the mallocs, delete the news"