Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2003 03:54:40 +0800
From:      leafy@leafy.idv.tw
To:        deischen@freebsd.org, Joshua Oreman <oremanj@www.get-linux.org>
Cc:        hackers@freebsd.org
Subject:   Re: getpwnam + getpwnam_r + LinuxThreads port = deadlock
Message-ID:  <20030712195349.M18589@leafy.idv.tw>
In-Reply-To: <Pine.GSO.4.10.10307121459430.11837-100000@pcnet5.pcnet.com>
References:  <20030712172948.GC25971@webserver.get-linux.org> <Pine.GSO.4.10.10307121459430.11837-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Jiawei

"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030712195349.M18589>