From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 12 22:37:33 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F92D37B401 for ; Sat, 12 Jul 2003 22:37:33 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9C2843FAF for ; Sat, 12 Jul 2003 22:37:32 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h6D5bVAI010479; Sun, 13 Jul 2003 01:37:32 -0400 (EDT) Date: Sun, 13 Jul 2003 01:37:31 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: leafy@leafy.idv.tw In-Reply-To: <20030712195349.M18589@leafy.idv.tw> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org cc: Joshua Oreman Subject: Re: getpwnam + getpwnam_r + LinuxThreads port = deadlock X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 05:37:33 -0000 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