Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2003 01:37:31 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        leafy@leafy.idv.tw
Cc:        Joshua Oreman <oremanj@www.get-linux.org>
Subject:   Re: getpwnam + getpwnam_r + LinuxThreads port = deadlock
Message-ID:  <Pine.GSO.4.10.10307130136080.10268-100000@pcnet5.pcnet.com>
In-Reply-To: <20030712195349.M18589@leafy.idv.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 13 Jul 2003 leafy@leafy.idv.tw wrote:

> On Sat, 12 Jul 2003 15:06:30 -0400 (EDT), Daniel Eischen wrote
> > Umm, what are you talking about?  Both libkse and libthr
> > implement POSIX threads interfaces.  Your code doesn't
> > have to change; you just link to libkse (-lkse) or
> > libthr (-lthr).  When you compile on Linux, you link
> > to linuxthreads (-lwhatever).  You are not running
> > a FreeBSD binary on Linux, nor running a Linux binary
> > on FreeBSD, right?
> Or even better, use libmap.conf and the app can be tested with different 
> libraries in just one snap.

You probably won't be able to do that to switch between
linuxthreads and libthr/libkse/libc_r.  Linuxthreads
and the FreeBSD thread libraries are most likely not
binary compatable.

-- 
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10307130136080.10268-100000>