Mailinglist Archive: opensuse (2700 mails)

< Previous Next >
Re: [SLE] Suse 9.3 Threads (Linux or NPTL) question
  • From: Jerry Feldman <gaf@xxxxxxx>
  • Date: Tue, 26 Jul 2005 17:34:19 -0400
  • Message-id: <200507261734.20088.gaf@xxxxxxx>
On Tuesday 26 July 2005 4:57 pm, Adolph Weidanz wrote:
> Now that I've switched emails, hopefully this goes through.. I posted it
> in alt.os.linux.suse, but if I can this through it probably belongs here
> instead...
> I was reading this months issue of Dr. Dobb's and they have an
> interesting (at least for me ;^) article on Linux threads. So I went my
> development machine and did the test they provided. According to the
> program they had in the listing (tested the thread PID with the process
> PID) and it reported that I was running with LinuxThreads however when I
> : getconf GNU_LIBPTHREAD_VERSION I got NPTL 2.3.4.
> Specs:
> gcc -v
> Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
> Configured with: ../configure --enable-threads=posix --prefix=/usr
> --with-local-prefix=/usr/local --infodir=/usr/share/info
> --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada
> --disable-checking --libdir=/usr/lib --enable-libgcj --with-slibdir=/lib
> --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
> Thread model: posix
> gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
> glibc ver 2.3.4-23.4
> kernel
> KDEVELOP 3.2.1 KDE 3.4.1 level "a" with -lpthread as a compile option
Both LinuxThreads and NPTL is installed, but you will get some NPTL behavior
unless you specifically build with nptl (highly recommended).

Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9

< Previous Next >