From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 12 12:54:43 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 4922037B401 for ; Sat, 12 Jul 2003 12:54:43 -0700 (PDT) Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85E5B43FBD for ; Sat, 12 Jul 2003 12:54:42 -0700 (PDT) (envelope-from leafy@leafy.idv.tw) Received: from [210.66.88.201] (port=49268 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.14:2) id 19bQS9-000CgM-RQ for hackers@freebsd.org; Sun, 13 Jul 2003 03:54:41 +0800 Received: from www.leafy.idv.tw (nobody@localhost [127.0.0.1]) by chihiro.leafy.idv.tw (8.12.9/8.12.9) with ESMTP id h6CJseVU042175; Sun, 13 Jul 2003 03:54:40 +0800 (CST) (envelope-from leafy@leafy.idv.tw) From: leafy@leafy.idv.tw To: deischen@freebsd.org, Joshua Oreman Date: Sun, 13 Jul 2003 03:54:40 +0800 Message-Id: <20030712195349.M18589@leafy.idv.tw> In-Reply-To: References: <20030712172948.GC25971@webserver.get-linux.org> X-Mailer: Open WebMail 2.10 20030617 X-OriginatingIP: 192.168.0.3 (leafy) MIME-Version: 1.0 Content-Type: text/plain; charset=big5 cc: hackers@freebsd.org Subject: Re: getpwnam + getpwnam_r + LinuxThreads port = deadlock X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2003 19:54:43 -0000 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